summaryrefslogtreecommitdiffstats
path: root/block/blk-softirq.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2011-07-23 20:44:24 +0200
committerJens Axboe <jaxboe@fusionio.com>2011-07-23 20:44:24 +0200
commitef3230880abd36553ab442363d3c9a0661f00769 (patch)
treed314461b25b76f62d27d7356dcc7fb8157982e61 /block/blk-softirq.c
parent4c64500eada358165d0bb9a20d6c7d30821995b4 (diff)
downloadlinux-0-day-ef3230880abd36553ab442363d3c9a0661f00769.tar.gz
backing-dev: use synchronize_rcu_expedited instead of synchronize_rcu
backing-dev: use synchronize_rcu_expedited instead of synchronize_rcu synchronize_rcu sleeps several timer ticks. synchronize_rcu_expedited is much faster. With 100Hz timer frequency, when we remove 10000 block devices with "dmsetup remove_all" command, it takes 27 minutes. With this patch, removing 10000 block devices takes only 15 seconds. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions