From: Shaohua Li Date: Thu, 19 Jul 2012 06:01:31 +0000 (+1000) Subject: raid5: reduce chance release_stripe() taking device_lock X-Git-Tag: v3.6-rc1~21^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eb788df670ef30a19b7ea15b107ea440544bc80;p=pandora-kernel.git raid5: reduce chance release_stripe() taking device_lock release_stripe() is a place conf->device_lock is heavily contended. We take the lock even stripe count isn't 1, which isn't required. Signed-off-by: Shaohua Li Signed-off-by: NeilBrown --- Reading git-diff-tree failed