diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-11-08 15:10:03 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-08 08:39:48 -0700 |
commit | bad119b9a00019054f0c9e2045f312ed63ace4f4 (patch) | |
tree | 710a6d9cbbda4f53e671acc155836124c9e94b92 /fs/xfs/Makefile | |
parent | a19577808fd33d9e64e015808fbca2769a96721b (diff) | |
download | linux-bad119b9a00019054f0c9e2045f312ed63ace4f4.tar.gz linux-bad119b9a00019054f0c9e2045f312ed63ace4f4.tar.bz2 linux-bad119b9a00019054f0c9e2045f312ed63ace4f4.zip |
io_uring: honour zeroes as io-wq worker limits
When we pass in zero as an io-wq worker number limit it shouldn't
actually change the limits but return the old value, follow that
behaviour with deferred limits setup as well.
Cc: stable@kernel.org # 5.15
Reported-by: Beld Zhang <beldzhang@gmail.com>
Fixes: e139a1ec92f8d ("io_uring: apply max_workers limit to all future users")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1b222a92f7a78a24b042763805e891a4cdd4b544.1636384034.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/xfs/Makefile')
0 files changed, 0 insertions, 0 deletions