]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: don't punt files update to io-wq unconditionally
authorJens Axboe <axboe@kernel.dk>
Fri, 24 Sep 2021 14:43:54 +0000 (08:43 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Sep 2021 16:24:34 +0000 (10:24 -0600)
commitc3ad7c2853494956500d6ce0d409fd0b0ae08afb
tree8e10100e9f1e1fbabb114cccb705ab60ceb07952
parentd823c7916354473877fe4d9ccfa4c1829906153f
io_uring: don't punt files update to io-wq unconditionally

There's no reason to punt it unconditionally, we just need to ensure that
the submit lock grabbing is conditional.

Fixes: 617803dc1ab8 ("io_uring: avoid ring quiesce for fixed file set unregister and update")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c