public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd
@ 2025-04-25  1:37 Ming Lei
  2025-04-25  1:37 ` [PATCH V2 1/2] ublk: call ublk_dispatch_req() for handling UBLK_U_IO_NEED_GET_DATA Ming Lei
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ming Lei @ 2025-04-25  1:37 UTC (permalink / raw)
  To: Jens Axboe, linux-block
  Cc: Uday Shankar, Caleb Sander Mateos, Guy Eisenberg, Jared Holzman,
	Yoav Cohen, Omri Levi, Ofer Oshri, Ming Lei

Hello Jens,

The 2 patches try to fix race between between io_uring_cmd_complete_in_task
and ublk_cancel_cmd.

Thanks,
Ming

V2:
	- improve comment and commit log
	- remove useless memory barrier(Caleb Sander Mateos)
	- add tested-by fixes tag

Ming Lei (2):
  ublk: call ublk_dispatch_req() for handling UBLK_U_IO_NEED_GET_DATA
  ublk: fix race between io_uring_cmd_complete_in_task and
    ublk_cancel_cmd

 drivers/block/ublk_drv.c | 41 +++++++++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 17 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2025-05-19  2:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-25  1:37 [PATCH V2 0/2] ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd Ming Lei
2025-04-25  1:37 ` [PATCH V2 1/2] ublk: call ublk_dispatch_req() for handling UBLK_U_IO_NEED_GET_DATA Ming Lei
2025-04-25  1:37 ` [PATCH V2 2/2] ublk: fix race between io_uring_cmd_complete_in_task and ublk_cancel_cmd Ming Lei
2025-05-14  1:50   ` Shinichiro Kawasaki
2025-05-18 19:12     ` Jared Holzman
2025-05-18 23:54       ` Shinichiro Kawasaki
2025-05-19  2:45       ` Ming Lei
2025-04-25  1:53 ` [PATCH V2 0/2] " Jens Axboe
2025-04-28 13:31   ` Jared Holzman

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