diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-01-15 21:51:17 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-01-15 21:51:17 -0700 |
commit | 11ba820bf163e224bf5dd44e545a66a44a5b1d7a (patch) | |
tree | 6ffcfb94ea666db7b6a2cebefd2ad9a92958f38d /fs/f2fs/xattr.c | |
parent | 797f3f535d59f05ad12c629338beef6cb801d19e (diff) |
io_uring: ensure workqueue offload grabs ring mutex for poll list
A previous commit moved the locking for the async sqthread, but didn't
take into account that the io-wq workers still need it. We can't use
req->in_async for this anymore as both the sqthread and io-wq workers
set it, gate the need for locking on io_wq_current_is_worker() instead.
Fixes: 8a4955ff1cca ("io_uring: sqthread should grab ctx->uring_lock for submissions")
Reported-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/f2fs/xattr.c')
0 files changed, 0 insertions, 0 deletions