diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-03-20 20:01:25 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-20 20:01:25 -0600 |
commit | 9d2789ac9d60c049d26ef6d3005d9c94c5a559e9 (patch) | |
tree | e09175212c3cd8e96aa4285907356cb430513f62 /drivers/nvme/host/core.c | |
parent | 4985e7b2c002eb4c5c794a1d3acd91b82c89a0fd (diff) | |
download | linux-9d2789ac9d60c049d26ef6d3005d9c94c5a559e9.tar.gz linux-9d2789ac9d60c049d26ef6d3005d9c94c5a559e9.tar.bz2 linux-9d2789ac9d60c049d26ef6d3005d9c94c5a559e9.zip |
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: ee692a21e9bf ("fs,io_uring: add infrastructure for uring-cmd")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/host/core.c')
0 files changed, 0 insertions, 0 deletions