summaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2025-04-25 09:37:39 +0800
committerJens Axboe <axboe@kernel.dk>2025-04-24 19:52:20 -0600
commitd6aa0c178bf81f30ae4a780b2bca653daa2eb633 (patch)
treeaca65bfd926e7ddc6ca8d89344f54ac98bdc1c1b /rust/helpers/helpers.c
parentc4d2519c6ad854dc2114e77d693b3cf1baf55330 (diff)
downloadlinux-d6aa0c178bf81f30ae4a780b2bca653daa2eb633.tar.gz
linux-d6aa0c178bf81f30ae4a780b2bca653daa2eb633.tar.bz2
linux-d6aa0c178bf81f30ae4a780b2bca653daa2eb633.zip
ublk: call ublk_dispatch_req() for handling UBLK_U_IO_NEED_GET_DATA
We call io_uring_cmd_complete_in_task() to schedule task_work for handling UBLK_U_IO_NEED_GET_DATA. This way is really not necessary because the current context is exactly the ublk queue context, so call ublk_dispatch_req() directly for handling UBLK_U_IO_NEED_GET_DATA. Fixes: 216c8f5ef0f2 ("ublk: replace monitor with cancelable uring_cmd") Tested-by: Jared Holzman <jholzman@nvidia.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20250425013742.1079549-2-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions