commit | 4eb788df670ef30a19b7ea15b107ea440544bc80 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@kernel.org> | Thu Jul 19 16:01:31 2012 +1000 |
committer | NeilBrown <neilb@suse.de> | Thu Jul 19 16:01:31 2012 +1000 |
tree | 6a99872db014f67e43312afd4a93b3bcffe64506 | |
parent | 58e94ae18478c08229626daece2fc108a4a23261 [diff] |
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 <shli@fusionio.com> Signed-off-by: NeilBrown <neilb@suse.de>