]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Mar 2025 22:15:42 +0000 (16:15 -0600)
commit7e2fe01a69f6be3e284b38cfd2e4e0598a3b0a8f
tree40e6f815d73fb1dff02214c81da7e8dcba905bfd
parent8741d0737921ec1c03cf59aebf4d01400c2b461a
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