• Linus Torvalds's avatar
    Merge tag 'for-6.3/dm-fixes' of... · 5ad4fe96
    Linus Torvalds authored
    Merge tag 'for-6.3/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
    
    Pull device mapper fixes from Mike Snitzer:
    
     - Fix DM thin to work as a swap device by using 'limit_swap_bios' DM
       target flag (initially added to allow swap to dm-crypt) to throttle
       the amount of outstanding swap bios.
    
     - Fix DM crypt soft lockup warnings by calling cond_resched() from the
       cpu intensive loop in dmcrypt_write().
    
     - Fix DM crypt to not access an uninitialized tasklet. This fix allows
       for consistent handling of IO completion, by _not_ needlessly punting
       to a workqueue when tasklets are not needed.
    
     - Fix DM core's alloc_dev() initialization for DM stats to check for
       and propagate alloc_percpu() failure.
    
    * tag 'for-6.3/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
      dm stats: check for and propagate alloc_percpu failure
      dm crypt: avoid accessing uninitialized tasklet
      dm crypt: add cond_resched() to dmcrypt_write()
      dm thin: fix deadlock when swapping to thin device
    5ad4fe96
dm.c 78.2 KB