Skip to content
Commit 43c01fbe authored by Jens Axboe's avatar Jens Axboe
Browse files

io-wq: re-set NUMA node affinities if CPUs come online



We correctly set io-wq NUMA node affinities when the io-wq context is
setup, but if an entire node CPU set is offlined and then brought back
online, the per node affinities are broken. Ensure that we set them
again whenever a CPU comes online. This ensures that we always track
the right node affinity. The usual cpuhp notifiers are used to drive it.

Reported-by: default avatarZhang Qiang <qiang.zhang@windriver.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent ff577161
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment