ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 8 repliesIn review
- v17 patches 3 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ublk: add helper of ublk_need_map_io()drivers/ | +9 | 1 reply | |
| 2/7 | ublk: properly serialize all FETCH_REQsdrivers/ | +49 | 1 reply | |
| 3/7 | ublk: move device reset into ublk_ch_release()drivers/ | +72 | 1 reply | |
| 4/7 | ublk: improve detection and handling of ublk server exitdrivers/ | +124 | 1 reply | |
| 5/7 | ublk: remove __ublk_quiesce_dev()drivers/ | +2 | 1 reply | |
| 6/7 | ublk: simplify aborting ublk requestdrivers/ | +20 | 1 reply | |
| 7/7 | ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmddrivers/ | +21 | 1 reply |
Reviews trailers per patch
3 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Caleb Sander Mateos | Uday Shankar | Jared Holzman | Ming Lei |
|---|---|---|---|---|
| Series | R-b | |||
| 1/7 | R-b 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 4 reviewers.
Cover letter [PATCH 6.14.y v2 0/7] ublk: 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