linux/Documentation/admin-guide/device-mapper
Mikulas Patocka d537858ac8 dm integrity: fix excessive alignment of metadata runs
Metadata runs are supposed to be aligned on 4k boundary (so that they work
efficiently with disks with 4k sectors). However, there was a programming
bug that makes them aligned on 128k boundary instead. The unused space is
wasted.

Fix this bug by providing a proper 4k alignment. In order to keep
existing volumes working, we introduce a new flag SB_FLAG_FIXED_PADDING
- when the flag is clear, we calculate the padding the old way. In order
to make sure that the old version cannot mount the volume created by the
new version, we increase superblock version to 4.

Also in order to not break with old integritysetup, we fix alignment
only if the parameter "fix_padding" is present when formatting the
device.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2019-11-15 14:49:16 -05:00
..
cache-policies.rst
cache.rst
delay.rst
dm-clone.rst dm: add clone target 2019-09-12 09:32:31 -04:00
dm-crypt.rst
dm-dust.txt
dm-flakey.rst
dm-init.rst
dm-integrity.rst dm integrity: fix excessive alignment of metadata runs 2019-11-15 14:49:16 -05:00
dm-io.rst
dm-log.rst
dm-queue-length.rst
dm-raid.rst dm raid: to ensure resynchronization, perform raid set grow in preresume 2019-11-05 14:02:26 -05:00
dm-service-time.rst
dm-uevent.rst
dm-zoned.rst
era.rst
index.rst
kcopyd.rst
linear.rst
log-writes.rst
persistent-data.rst
snapshot.rst
statistics.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
striped.rst
switch.rst
thin-provisioning.rst
unstriped.rst
verity.rst dm verity: add root hash pkcs#7 signature verification 2019-08-23 10:13:14 -04:00
writecache.rst
zero.rst