]> www.infradead.org Git - nvme.git/commit
ublk: comment on ubq->canceling handling in ublk_queue_rq()
authorMing Lei <ming.lei@redhat.com>
Thu, 27 Mar 2025 09:51:11 +0000 (17:51 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 31 Mar 2025 15:48:24 +0000 (08:48 -0700)
commitd7745ce6d669364a4ee73d32ee63f4ce7a581cfe
tree3a5c0011f0b47f8a05349a99a348d039cc6cf945
parentba07d47830f52e5469c6fb3df1a5ef98ea4bc805
ublk: comment on ubq->canceling handling in ublk_queue_rq()

In ublk_queue_rq(), ubq->canceling has to be handled after ->fail_io and
->force_abort are dealt with, otherwise the request may not be failed
when deleting disk.

Add comment on this usage.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250327095123.179113-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c