diff options
| author | Ming Lei <[email protected]> | 2025-04-25 01:37:39 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-04-25 01:52:20 +0000 |
| commit | d6aa0c178bf81f30ae4a780b2bca653daa2eb633 (patch) | |
| tree | aca65bfd926e7ddc6ca8d89344f54ac98bdc1c1b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | block: don't autoload drivers on blk-cgroup configuration (diff) | |
| download | kernel-d6aa0c178bf81f30ae4a780b2bca653daa2eb633.tar.gz kernel-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 <[email protected]>
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
