Skip to contentSkip to conversation

device mapper fixes for 4.19-rc4

GIT PULL Mike Snitzer 1 participant 1 message Sep 13, 2018 Device mapper

lore
Share & tools
lore
#0 lore raw

Hi Linus,

The following changes since commit 57361846b52bc686112da6ca5368d11210796804:

Linux 4.19-rc2 (2018-09-02 14:37:30 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git tags/for-4.19/dm-fixes

for you to fetch changes up to 3ab91828166895600efd9cdc3a0eb32001f7204a:

dm thin metadata: try to avoid ever aborting transactions (2018-09-10 17:03:18 -0400)

Please pull, thanks!
Mike

----------------------------------------------------------------
- DM verity fix for crash due to using vmalloc'd buffers with the asynchronous crypto hadsh API.

- Fix to both DM crypt and DM integrity targets to discontinue using CRYPTO_TFM_REQ_MAY_SLEEP because its use of GFP_KERNEL can lead to deadlock by recursing back into a filesystem.

- Various DM raid fixes related to reshape and rebuild races.

- Fix for DM thin-provisioning to avoid data corruption that was a side-effect of needing to abort DM thin metadata transaction due to running out of metadata space. Fix is to reserve a small amount of metadata space so that once it is used the DM thin-pool can finish its active transaction before switching to read-only mode.

----------------------------------------------------------------
Heinz Mauelshagen (5):
dm raid: fix reshape race on small devices
dm raid: fix stripe adding reshape deadlock
dm raid: fix rebuild of specific devices by updating superblock dm raid: fix RAID leg rebuild errors
dm raid: bump target version, update comments and documentation

Joe Thornber (1):
dm thin metadata: try to avoid ever aborting transactions

Mikulas Patocka (2):
dm verity: fix crash on bufio buffer that was allocated with vmalloc
dm: disable CRYPTO_TFM_REQ_MAY_SLEEP to fix a GFP_KERNEL recursion deadlock

 Documentation/device-mapper/dm-raid.txt |   4 +
 drivers/md/dm-crypt.c                   |  10 +--
 drivers/md/dm-integrity.c               |   4 +-
 drivers/md/dm-raid.c                    | 154 +++++++++++++-------------------
 drivers/md/dm-thin-metadata.c           |  36 +++++++-
 drivers/md/dm-thin.c                    |  73 +++++++++++++--
 drivers/md/dm-verity-target.c           |  24 ++++-
 7 files changed, 192 insertions(+), 113 deletions(-)