public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/7] ublk: Backport to 6.14-stable: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
@ 2025-05-06 23:37 Jared Holzman
  2025-05-06 23:37 ` [PATCH v1 1/7] ublk: add helper of ublk_need_map_io() Jared Holzman
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Jared Holzman @ 2025-05-06 23:37 UTC (permalink / raw)
  To: stable; +Cc: ming.lei, axboe, ushankar, gregkh, jholzman

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/20250416035444.99569-1-ming.lei@redhat.com/

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <20250506215511.4126251-1-jholzman@nvidia.com>]

end of thread, other threads:[~2025-05-07  9:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-06 23:37 [PATCH v1 0/7] ublk: Backport to 6.14-stable: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd Jared Holzman
2025-05-06 23:37 ` [PATCH v1 1/7] ublk: add helper of ublk_need_map_io() Jared Holzman
2025-05-06 23:37 ` [PATCH v1 2/7] ublk: properly serialize all FETCH_REQs Jared Holzman
2025-05-06 23:37 ` [PATCH v1 3/7] ublk: move device reset into ublk_ch_release() Jared Holzman
2025-05-06 23:37 ` [PATCH v1 4/7] ublk: improve detection and handling of ublk server exit Jared Holzman
2025-05-06 23:37 ` [PATCH v1 5/7] ublk: remove __ublk_quiesce_dev() Jared Holzman
2025-05-06 23:37 ` [PATCH v1 6/7] ublk: simplify aborting ublk request Jared Holzman
2025-05-06 23:37 ` [PATCH v1 7/7] ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd Jared Holzman
2025-05-07  8:08 ` [PATCH v1 0/7] ublk: Backport to 6.14-stable: " Ming Lei
2025-05-07  9:14   ` Jared Holzman
2025-05-07  9:20 ` Greg KH
     [not found] <20250506215511.4126251-1-jholzman@nvidia.com>
2025-05-06 22:00 ` Jared Holzman
2025-05-06 22:25   ` Jared Holzman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox