diff options
author | Beld Zhang <beldzhang@gmail.com> | 2021-11-02 12:32:08 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-02 12:33:35 -0600 |
commit | 71c9ce27bb57c59d8d7f5298e730c8096eef3d1f (patch) | |
tree | 59d31c9a2da46dcd517237c73dca44575d9a3fe7 /lib/zstd/common/entropy_common.c | |
parent | 9881024aab8094a53756c7aee42564306c8e3580 (diff) |
io-wq: fix max-workers not correctly set on multi-node system
In io-wq.c:io_wq_max_workers(), new_count[] was changed right after each
node's value was set. This caused the following node getting the setting
of the previous one.
Returned values are copied from node 0.
Fixes: 2e480058ddc2 ("io-wq: provide a way to limit max number of workers")
Signed-off-by: Beld Zhang <beldzhang@gmail.com>
[axboe: minor fixups]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/zstd/common/entropy_common.c')
0 files changed, 0 insertions, 0 deletions