diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2012-12-05 20:17:21 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-12-05 20:17:21 +0100 |
commit | 8fa72d234da9b6b473bbb1f74d533663e4996e6b (patch) | |
tree | 536b8d2cf5aa3f0baee3aa0d89e602733be3df56 /block/blk-throttle.c | |
parent | c304a51bf42a7ce48f430a371e1213472c89e13d (diff) |
bdi: add a user-tunable cpu_list for the bdi flusher threads
In realtime environments, it may be desirable to keep the per-bdi
flusher threads from running on certain cpus. This patch adds a
cpu_list file to /sys/class/bdi/* to enable this. The default is to tie
the flusher threads to the same numa node as the backing device (though
I could be convinced to make it a mask of all cpus to avoid a change in
behaviour).
Thanks to Jeremy Eder for the original idea.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions