ublk: Backport to 6.14-stable: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ublk: add helper of ublk_need_map_io()drivers/ | +9 | 0 replies | |
| 2/7 | ublk: properly serialize all FETCH_REQsdrivers/ | +49 | 0 replies | |
| 3/7 | ublk: move device reset into ublk_ch_release()drivers/ | +72 | 0 replies | |
| 4/7 | ublk: improve detection and handling of ublk server exitdrivers/ | +124 | 0 replies | |
| 5/7 | ublk: remove __ublk_quiesce_dev()drivers/ | +2 | 0 replies | |
| 6/7 | ublk: simplify aborting ublk requestdrivers/ | +20 | 0 replies | |
| 7/7 | ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmddrivers/ | +21 | 0 replies |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Caleb Sander Mateos | Uday Shankar | Jared Holzman |
|---|---|---|---|
| 1/7 | R-b | ||
| 2/7 | |||
| 3/7 | |||
| 4/7 | |||
| 5/7 | R-b | ||
| 6/7 | R-b | ||
| 7/7 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v1 0/7] ublk: Backport to 6.14-stable: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
This patchset backports a series of ublk fixes from upstream to 6.14-stable.
Patch 7 fixes the race that can cause kernel panic when ublk server daemon is exiting.
It depends on patches 1-6 which simplifies & improves IO canceling when ublk server daemon is exiting as described here:
https://lore.kernel.org/linux-block/[email protected]/
Ming Lei (5):
ublk: add helper of ublk_need_map_io()
ublk: move device reset into ublk_ch_release()
ublk: remove __ublk_quiesce_dev()
ublk: simplify aborting ublk request
ublk: fix race between io_uring_cmd_complete_in_task and
ublk_cancel_cmd
Uday Shankar (2):
ublk: properly serialize all FETCH_REQs
ublk: improve detection and handling of ublk server exit
drivers/block/ublk_drv.c | 550 +++++++++++++++++++++------------------ 1 file changed, 291 insertions(+), 259 deletions(-)
Signature · 1 line
2.43.0