From: Shaohua Li Date: Thu, 19 Jul 2012 06:01:31 +0000 (+1000) Subject: raid5: remove unnecessary bitmap write optimization X-Git-Tag: v3.6-rc1~21^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eaf7e8eb31747e4259d60288b44b194fb3d56c7;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed