Skip to content
Commit 9d2789ac authored by Jens Axboe's avatar Jens Axboe
Browse files

block/io_uring: pass in issue_flags for uring_cmd task_work handling

io_uring_cmd_done() currently assumes that the uring_lock is held
when invoked, and while it generally is, this is not guaranteed.
Pass in the issue_flags associated with it, so that we have
IO_URING_F_UNLOCKED available to be able to lock the CQ ring
appropriately when completing events.

Cc: stable@vger.kernel.org
Fixes: ee692a21

 ("fs,io_uring: add infrastructure for uring-cmd")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 4985e7b2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment