Linux/linux 3e414b5Documentation/admin-guide/device-mapper dm-clone.rst verity.rst, crypto essiv.c Kconfig

Merge tag 'for-5.4/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm

Pull device mapper updates from Mike Snitzer:

 - crypto and DM crypt advances that allow the crypto API to reclaim
   implementation details that do not belong in DM crypt. The wrapper
   template for ESSIV generation that was factored out will also be used
   by fscrypt in the future.

 - Add root hash pkcs#7 signature verification to the DM verity target.

 - Add a new "clone" DM target that allows for efficient remote
   replication of a device.

 - Enhance DM bufio's cache to be tailored to each client based on use.
   Clients that make heavy use of the cache get more of it, and those
   that use less have reduced cache usage.

 - Add a new DM_GET_TARGET_VERSION ioctl to allow userspace to query the
   version number of a DM target (even if the associated module isn't
   yet loaded).

 - Fix invalid memory access in DM zoned target.

 - Fix the max_discard_sectors limit advertised by the DM raid target;
   it was mistakenly storing the limit in bytes rather than sectors.

 - Small optimizations and cleanups in DM writecache target.

 - Various fixes and cleanups in DM core, DM raid1 and space map portion
   of DM persistent data library.

* tag 'for-5.4/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm: (22 commits)
  dm: introduce DM_GET_TARGET_VERSION
  dm bufio: introduce a global cache replacement
  dm bufio: remove old-style buffer cleanup
  dm bufio: introduce a global queue
  dm bufio: refactor adjust_total_allocated
  dm bufio: call adjust_total_allocated from __link_buffer and __unlink_buffer
  dm: add clone target
  dm raid: fix updating of max_discard_sectors limit
  dm writecache: skip writecache_wait for pmem mode
  dm stats: use struct_size() helper
  dm crypt: omit parsing of the encapsulated cipher
  dm crypt: switch to ESSIV crypto API template
  crypto: essiv - create wrapper template for ESSIV generation
  dm space map common: remove check for impossible sm_find_free() return value
  dm raid1: use struct_size() with kzalloc()
  dm writecache: optimize performance by sorting the blocks for writeback_all
  dm writecache: add unlikely for getting two block with same LBA
  dm writecache: remove unused member pointer in writeback_struct
  dm zoned: fix invalid memory access
  dm verity: add root hash pkcs#7 signature verification
  ...
DeltaFile
+2,191-0drivers/md/dm-clone-target.c
+964-0drivers/md/dm-clone-metadata.c
+663-0crypto/essiv.c
+69-280drivers/md/dm-crypt.c
+333-0Documentation/admin-guide/device-mapper/dm-clone.rst
+119-73drivers/md/dm-bufio.c
+158-0drivers/md/dm-clone-metadata.h
+133-0drivers/md/dm-verity-verify-sig.c
+60-0drivers/md/dm-verity-verify-sig.h
+38-5drivers/md/dm-verity-target.c
+30-4drivers/md/dm-ioctl.c
+28-0crypto/Kconfig
+27-0drivers/md/Kconfig
+20-7drivers/md/dm-writecache.c
+5-5drivers/md/dm-raid.c
+4-4drivers/md/dm.c
+3-5drivers/md/dm-table.c
+7-0Documentation/admin-guide/device-mapper/verity.rst
+2-5drivers/md/dm-raid1.c
+4-2include/uapi/linux/dm-ioctl.h
+6-0drivers/md/Makefile
+0-5drivers/md/dm.h
+0-4drivers/md/persistent-data/dm-space-map-common.c
+2-0drivers/md/dm-verity.h
+0-2drivers/md/dm-zoned-target.c
+1-1drivers/md/dm-stats.c
+1-0crypto/Makefile
+4,868-40227 files

UnifiedSplitRaw