• Linus Torvalds's avatar
    Merge tag 'for-5.12/dm-changes' of... · 325b7640
    Linus Torvalds authored
    Merge tag 'for-5.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
    
    Pull device mapper updates from Mike Snitzer:
    
     - Fix DM integrity's HMAC support to provide enhanced security of
       internal_hash and journal_mac capabilities.
    
     - Various DM writecache fixes to address performance, fix table output
       to match what was provided at table creation, fix writing beyond end
       of device when shrinking underlying data device, and a couple other
       small cleanups.
    
     - Add DM crypt support for using trusted keys.
    
     - Fix deadlock when swapping to DM crypt device by throttling number of
       in-flight REQ_SWAP bios. Implemented in DM core so that other
       bio-based targets can opt-in by setting ti->limit_swap_bios.
    
     - Fix various inverted logic bugs in the .iterate_devices callout
       functions that are used to assess if specific feature or capability
       is supported across all devices being combined/stacked by DM.
    
     - Fix DM era target bugs that exposed users to lost writes or memory
       leaks.
    
     - Add DM core support for passing through inline crypto support of
       underlying devices. Includes block/keyslot-manager changes that
       enable extending this support to DM.
    
     - Various small fixes and cleanups (spelling fixes, front padding
       calculation cleanup, cleanup conditional zoned support in targets,
       etc).
    
    * tag 'for-5.12/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (31 commits)
      dm: fix deadlock when swapping to encrypted device
      dm: simplify target code conditional on CONFIG_BLK_DEV_ZONED
      dm: set DM_TARGET_PASSES_CRYPTO feature for some targets
      dm: support key eviction from keyslot managers of underlying devices
      dm: add support for passing through inline crypto support
      block/keyslot-manager: Introduce functions for device mapper support
      block/keyslot-manager: Introduce passthrough keyslot manager
      dm era: only resize metadata in preresume
      dm era: Use correct value size in equality function of writeset tree
      dm era: Fix bitset memory leaks
      dm era: Verify the data block size hasn't changed
      dm era: Reinitialize bitset cache before digesting a new writeset
      dm era: Update in-core bitset after committing the metadata
      dm era: Recover committed writeset after crash
      dm writecache: use bdev_nr_sectors() instead of open-coded equivalent
      dm writecache: fix writing beyond end of underlying device when shrinking
      dm table: remove needless request_queue NULL pointer checks
      dm table: fix zoned iterate_devices based device capability checks
      dm table: fix DAX iterate_devices based device capability checks
      dm table: fix iterate_devices based device capability checks
      ...
    325b7640
keyslot-manager.c 16.3 KB