summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2023-10-09 17:33:22 +0800
committerJens Axboe <axboe@kernel.dk>2023-10-17 08:27:56 -0600
commitb4e1353f465147e38b2cd5086d0c20b77dfc61ec (patch)
treed7ce1a1209f00a802b4f9756679479f7e4f5672d /block
parent216c8f5ef0f209a3797292c487bdaa6991ab4b92 (diff)
ublk: simplify aborting request
Now ublk_abort_queue() is run exclusively with ublk_queue_rq() and the ubq_daemon task, so simplify aborting request: - set UBLK_IO_FLAG_ABORTED in ublk_abort_queue() just for aborting this request - abort request in ublk_queue_rq() if ubq->canceling is set Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20231009093324.957829-8-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions