device mapper fixes for 4.3-rc3
Hi Linus,
The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f:
Linux 4.3-rc1 (2015-09-12 16:35:56 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm tags/dm-4.3-fixes
for you to fetch changes up to 586b286b110e94eb31840ac5afc0c24e0881fe34:
dm crypt: constrain crypt device's max_segment_size to PAGE_SIZE (2015-09-14 12:04:24 -0400)
Please pull, thanks.
Mike
----------------------------------------------------------------
Two stable@ fixes:
- DM thinp fix to properly advertise discard support as disabled for thin devices backed by a thin-pool with discard support disabled.
- DM crypt fix to prevent the creation of bios that violate the underlying block device's max_segments limits. This fixes a relatively long-standing NCQ SSD corruption issue reported against dm-crypt ever since the dm-crypt cpu parallelization patches were merged back in 4.0.
----------------------------------------------------------------
Mike Snitzer (2):
dm thin: disable discard support for thin devices if pool's is disabled dm crypt: constrain crypt device's max_segment_size to PAGE_SIZE
drivers/md/dm-crypt.c | 17 +++++++++++++++-- drivers/md/dm-thin.c | 4 ++++ 2 files changed, 19 insertions(+), 2 deletions(-)