All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/2] Fix a recently introduced deadlock
@ 2025-11-14 21:04 Bart Van Assche
  2025-11-14 21:04 ` [PATCH v6 1/2] fs: Add the __data_racy annotation to backing_dev_info.ra_pages Bart Van Assche
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bart Van Assche @ 2025-11-14 21:04 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Christoph Hellwig, Nilay Shroff, Bart Van Assche

Hi Jens,

This patch series fixes a recently introduced deadlock triggered by modifying
request queue sysfs attributes if the dm-multipath queue_if_no_path attribute
is set. Please consider this patch series for the next merge window.

Thanks,

Bart.

Changes compared to v5:
 - Added a new patch for include/linux/backing-dev-defs.h.
 - Removed the data_race() invocations and added __data_racy annotations
   instead.

Changes compared to v4:
 - Use WRITE_ONCE() to update bdi->ra_pages.
 - Move a data_race() annotation from queue_io_timeout_store() into
   blk_queue_rq_timeout().

Changes compared to v3:
 - Added two data_race() annotations.

Changes compared to v2:
 - Dropped the controversial patch "block: Restrict the duration of sysfs
   attribute changes".

Changes compared to v1:
 - Added patch "block: Restrict the duration of sysfs attribute changes".
 - Remove queue freezing from more sysfs callbacks.

Bart Van Assche (2):
  fs: Add the __data_racy annotation to backing_dev_info.ra_pages
  block: Remove queue freezing from several sysfs store callbacks

 block/blk-sysfs.c                | 26 ++++++++------------------
 include/linux/backing-dev-defs.h |  4 +++-
 include/linux/blkdev.h           |  2 +-
 3 files changed, 12 insertions(+), 20 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-11-18 15:38 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-14 21:04 [PATCH v6 0/2] Fix a recently introduced deadlock Bart Van Assche
2025-11-14 21:04 ` [PATCH v6 1/2] fs: Add the __data_racy annotation to backing_dev_info.ra_pages Bart Van Assche
2025-11-18  6:55   ` Nilay Shroff
2025-11-14 21:04 ` [PATCH v6 2/2] block: Remove queue freezing from several sysfs store callbacks Bart Van Assche
2025-11-17  9:01   ` Nilay Shroff
2025-11-17 20:44     ` Bart Van Assche
2025-11-18  6:54       ` Nilay Shroff
2025-11-18  6:56   ` Nilay Shroff
2025-11-18 15:38 ` [PATCH v6 0/2] Fix a recently introduced deadlock Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.