]> 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)
commitcdb31c29d397a8076d81fd1458d091c647ef94ba
tree8e10100e9f1e1fbabb114cccb705ab60ceb07952
parent9990da93d2bf9892c2c14c958bef050d4e461a1a
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: 05f3fb3c5397 ("io_uring: avoid ring quiesce for fixed file set unregister and update")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c