Fix a recently introduced deadlock
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v6 from the cover letter
- Added a new patch for include/linux/backing-dev-defs.h.
- Removed the data_race() invocations and added __data_racy annotations instead.
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | fs: Add the __data_racy annotation to backing_dev_info.ra_pagesinclude/ | +3 | 1 reply | |
| 2/2 | block: Remove queue freezing from several sysfs store callbacksblock/ include/ | +9 | 4 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Nilay Shroff |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/2] Fix a recently introduced deadlock
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(-)