• Linus Torvalds's avatar
    Merge tag 'for-6.7/dm-changes' of... · 0364249d
    Linus Torvalds authored
    Merge tag 'for-6.7/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
    
    Pull device mapper updates from Mike Snitzer:
    
     - Update DM core to directly call the map function for both the linear
       and stripe targets; which are provided by DM core
    
     - Various updates to use new safer string functions
    
     - Update DM core to respect REQ_NOWAIT flag in normal bios so that
       memory allocations are always attempted with GFP_NOWAIT
    
     - Add Mikulas Patocka to MAINTAINERS as a DM maintainer!
    
     - Improve DM delay target's handling of short delays (< 50ms) by using
       a kthread to check expiration of IOs rather than timers and a wq
    
     - Update the DM error target so that it works with zoned storage. This
       helps xfstests to provide proper IO error handling coverage when
       testing a filesystem with native zoned storage support
    
     - Update both DM crypt and integrity targets to improve performance by
       using crypto_shash_digest() rather than init+update+final sequence
    
     - Fix DM crypt target by backfilling missing memory allocation
       accounting for compound pages
    
    * tag 'for-6.7/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
      dm crypt: account large pages in cc->n_allocated_pages
      dm integrity: use crypto_shash_digest() in sb_mac()
      dm crypt: use crypto_shash_digest() in crypt_iv_tcw_whitening()
      dm error: Add support for zoned block devices
      dm delay: for short delays, use kthread instead of timers and wq
      MAINTAINERS: add Mikulas Patocka as a DM maintainer
      dm: respect REQ_NOWAIT flag in normal bios issued to DM
      dm: enhance alloc_multiple_bios() to be more versatile
      dm: make __send_duplicate_bios return unsigned int
      dm log userspace: replace deprecated strncpy with strscpy
      dm ioctl: replace deprecated strncpy with strscpy_pad
      dm crypt: replace open-coded kmemdup_nul
      dm cache metadata: replace deprecated strncpy with strscpy
      dm: shortcut the calls to linear_map and stripe_map
    0364249d
dm.c 81.1 KB