diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-04-19 09:10:35 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-04-19 09:10:35 +0200 |
commit | 5f45c69589b7d2953584e6cd0b31e35dbe960ad0 (patch) | |
tree | 7f920cebcbbe6a1435975e355cee15289ddbc428 /include | |
parent | bd900d4580107c899d43b262fbbd995f11097a43 (diff) | |
download | kernel_samsung_crespo-5f45c69589b7d2953584e6cd0b31e35dbe960ad0.zip kernel_samsung_crespo-5f45c69589b7d2953584e6cd0b31e35dbe960ad0.tar.gz kernel_samsung_crespo-5f45c69589b7d2953584e6cd0b31e35dbe960ad0.tar.bz2 |
cfq-iosched: read_lock() does not always imply rcu_read_lock()
For some configurations of CONFIG_PREEMPT that is not true. So
get rid of __call_for_each_cic() and always uses the explicitly
rcu_read_lock() protected call_for_each_cic() instead.
This fixes a potential bug related to IO scheduler removal or
online switching.
Thanks to Paul McKenney for clarifying this.
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions