aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-10-09 17:33:20 +0800
committerJens Axboe <[email protected]>2023-10-17 08:27:56 -0600
commitbd23f6c2c2d00518e2f27f2d25cef795de9bee56 (patch)
tree9aaf304876a5a6e841338714719061ef5c8e4d93 /rust/helpers
parent28dde8c062b640a26dc0bdbd341ace59ec96f7a3 (diff)
ublk: quiesce request queue when aborting queue
So far aborting queue ends request when the ubq daemon is exiting, and it can be run concurrently with ublk_queue_rq(), this way is fragile and we depend on the tricky usage of UBLK_IO_FLAG_ABORTED for avoiding such race. Quiesce queue when aborting queue, and the two code paths can be run completely exclusively, then it becomes easier to add new ublk feature, such as relaxing single same task limit for each queue. Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions