diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-11-08 18:10:03 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-18 21:16:03 +0300 |
commit | 4cac487a4730e4b8e4a106a3258660d49a239fa1 (patch) | |
tree | c2795aaaa8b418e11681ef2dddd579cf2ddd18c2 /net/lapb/Kconfig | |
parent | e1bb995036c7611177e4d7ac5e932e0fca06cf88 (diff) | |
download | linux-4cac487a4730e4b8e4a106a3258660d49a239fa1.tar.xz |
io_uring: honour zeroes as io-wq worker limits
commit bad119b9a00019054f0c9e2045f312ed63ace4f4 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/Kconfig')
0 files changed, 0 insertions, 0 deletions