[PATCH 0/3] Fix a deadlock related to modifying queue attributes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jens,

In kernel v6.11 code was introduced in the sysfs store callbacks for freezing
and unfreezing the request queue. This may cause a deadlock in combination with
dm-multipath devices and the queue_if_no_path option. This patch series modifies
the block layer sysfs store callbacks as follows:
 - Remove the request queue freeze / unfreeze calls from the block layer sysfs
   store callbacks if it is safe to do so.
 - For the sysfs attributes for which it is not safe to remove the queue
   freeze / unfreeze calls, fail the sysfs write operation if freezing the
   request queue takes longer than expected.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (3):
  block: Remove queue freezing from several sysfs store callbacks
  block: Restrict the duration of sysfs attribute changes
  block: Move a misplaced comment in queue_wb_lat_store()

 block/blk-mq.c         | 14 +++++++++++++
 block/blk-settings.c   | 32 ++++++++++++++++++++++++++++++
 block/blk-sysfs.c      | 45 ++++++++++++++++--------------------------
 include/linux/blk-mq.h |  2 ++
 include/linux/blkdev.h |  2 ++
 5 files changed, 67 insertions(+), 28 deletions(-)





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux