diff options
author | Pavel Begunkov <[email protected]> | 2021-10-23 12:13:59 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-10-25 07:42:33 -0600 |
commit | afb7f56fc624fb6ade8fde70a67eda4d831b4ed0 (patch) | |
tree | 4c0ecd6796385040a675ee3608959ade109d901b /fs/btrfs/dev-replace.c | |
parent | 658d0a401637ffbc733b0f03723e9e1255289429 (diff) |
io_uring: don't try io-wq polling if not supported
If an opcode doesn't support polling, just let it be executed
synchronously in iowq, otherwise it will do a nonblock attempt just to
fail in io_arm_poll_handler() and return back to blocking execution.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/6401256db01b88f448f15fcd241439cb76f5b940.1634987320.git.asml.silence@gmail.com
Reviewed-by: Hao Xu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions