Set dummy mountpoint in ksdata for lvm thin pools.

(cherry picked from commit 964ac329b7db6f35832c13055192f6268ebe92e4)

Resolves: rhbz#1100244
Improve adjustment for removal of a subvol in BTRFSFactory.

(cherry picked from commit 498fcc66cb99041f2ad06b2a143176b74ed3a777)
Resolves: rhbz#1078995
Increase max size for btrfs to 16 EiB. (#1114435)

The maximums in blivet should be thoeretical maximums. Limitations
beyond that are issues with the filesystem or its tools and not blivet's
business.

(cherry picked from commit aa0348048cf96834427e3e24144267a5ae6de99b)
Reset default subvolume prior to removing the default subvolume.

(cherry picked from commit fba26a4fdddbb375f96fbb2ed5b14af1337a37fe)
Resolves: rhbz#1076383
Do not mount btrfs to list subvolumes outside installer_mode.

(cherry picked from commit 21627d4ac480b1f0b862ec88114f61bcdd4776ec)
Resolves: rhbz#1015072
Properly identify dm devices even when udev info is incomplete.

This will help us to ignore device-mapper devices that we can't use.

(cherry picked from commit 1fe6530b5642a99058f73b71b55b55f7731f9a32)
Resolves: rhbz#1080727
Propagate mount options for btrfs members to all volumes/subvolumes.

(cherry picked from commit cb8ef6192e3284c811870fc4c03dff3fa067d54b)
Resolves: rhbz#1095866
Fix pylint errors from recent btrfs commits.

(cherry picked from commit d3c0cdfca31e59bad99e7554a38a0b04e086597e)
Related: rhbz#1095866
Related: rhbz#1015072
Do not allow modification or removal of protected devices.

(cherry picked from commit 8e16af5c6f69c586e3cdf3155848bb40fd39e67d)
The first format destroy action should obsolete any others.

The first one is the only one that knows that actual existing format it
needs to destroy.

The other rules for ActionDestroyFormat are preserved.

(cherry picked from commit fbdef95dbf2100c0e5f3e06bbeb54f3666599d0b)
Related: rhbz#1121383
Improve handling of device removals/additions from the devicetree.

Move device-type-specific code for managing relationships between devices
and the devices that contain them into the appropriate classes. This will
ensure, among other things, that canceling a destroy action for an lv
correctly adds the lv back into the LVMVolumeGroupDevice's lvs list.

(cherry picked from commit ce442ca243dc741153b98fd402e668c7241fa06f)

Resolves: rhbz#1121383
Cancel actions before hiding descendent devices.

Canceling the actions can change the set of descendants.

(cherry picked from commit f195052bdf347e194897f2cbc194bdf04da774d9)
Related: rhbz#1121383
Only cancel actions on disks related to the one we are hiding.

This includes all actions related to the disk and all actions related
to disks that are linked to the disk being hidden by multi-disk devices
like lvm volume groups.

(cherry picked from commit c81c3ac2f4f262b8db0135008974ec0c48f520e7)
Related: rhbz#1121383
iscsi: add iscsi singleton back (#1144463)

Related: rhbz#1144463

Perhaps accidentally removed by
commit ea4dcaa16cc26d65e9e8e94677d15
Breaks installation on iscsi using ibft.

(cherry picked from commit c39c712d4ee4395a77238dc87a3a6d549b1ea603)
iscsi: fix root argument being overriden by local variable (#1144463)

Resolves: rhbz#1144463

introduced by commit 5b39c90ae582a8fb008c3633954a33b583

(cherry picked from commit 1cde1f0142850ddc105ea74b0c6e958e9b9ebf00)
Fix treatment of percent as lvm lv size spec. (#1146156)

Percent is an alternative to a literal size. It is a fixed size request
expressed as a percentage of the vg's free space after all requests with
an explicit size have been allocated (but not grown). That means that a
request defined using percent can still be growable. Such a request will
use the size calculated from the percent argument as the basis for growth
rate.

(cherry picked from commit e0e00f38320bb0b40fb7d8c3e08be2a6fdf5b54e)
Honor zerombr regardless of clearpart setting.

(cherry picked from commit 5b7a54ab78ecf502dc4480200dd784d37b703d19)
Resolves: rhbz#1143755
Honor size specified for explicit extended partition requests.

(cherry picked from commit 24fec93d2dab61715b1a925654583ef184b206e3)
Resolves: rhbz#1077250
Remove obsolete conversion of size to float.

(cherry picked from commit 2d93f2bba6776ecc303d0500ab36505585c2dbc5)
Resolves: rhbz#1140642
Try to align end sector up when aligning new partitions.

(cherry picked from commit 85c74494bfdd032471f3de0daa14564ac8a4bc8d)
Resolves: rhbz#1090477