Commit d6aa0c1
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: 216c8f5 ("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]>1 parent c4d2519 commit d6aa0c1
1 file changed
+3
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1886 | 1886 | | |
1887 | 1887 | | |
1888 | 1888 | | |
1889 | | - | |
1890 | | - | |
1891 | | - | |
1892 | | - | |
1893 | | - | |
1894 | | - | |
1895 | | - | |
1896 | | - | |
1897 | | - | |
1898 | 1889 | | |
1899 | 1890 | | |
1900 | 1891 | | |
| |||
2103 | 2094 | | |
2104 | 2095 | | |
2105 | 2096 | | |
2106 | | - | |
2107 | | - | |
| 2097 | + | |
| 2098 | + | |
| 2099 | + | |
2108 | 2100 | | |
2109 | 2101 | | |
2110 | 2102 | | |
| |||
0 commit comments