aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorShaohua Li <shli@kernel.org>2012-07-19 16:01:31 +1000
committerNeilBrown <neilb@suse.de>2012-07-19 16:01:31 +1000
commit7eaf7e8eb31747e4259d60288b44b194fb3d56c7 (patch)
treebd084366fa8b61fd1eec312b54d0e861a39fba18 /drivers/md/raid5.h
parente7836bd6f60d659830b87804f7f4026edfe0f1d1 (diff)
raid5: remove unnecessary bitmap write optimization
Neil pointed out the bitmap write optimization in handle_stripe_clean_event() is unnecessary, because the chance one stripe gets written twice in the mean time is rare. We can always do a bitmap_startwrite when a write request is added to a stripe and bitmap_endwrite after write request is done. Delete the optimization. With it, we can delete some cases of device_lock. Signed-off-by: Shaohua Li <shli@fusionio.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.h')
0 files changed, 0 insertions, 0 deletions