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