From: Shaohua Li Date: Wed, 1 Aug 2012 22:33:00 +0000 (+1000) Subject: raid5: make_request use batch stripe release X-Git-Tag: v3.6-rc1~6^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8811b5968f6216e97ccb9fe7b9883af39e339921;p=pandora-kernel.git raid5: make_request use batch stripe release make_request() does stripe release for every stripe and the stripe usually has count 1, which makes previous release_stripe() optimization not work. In my test, this release_stripe() becomes the heaviest pleace to take conf->device_lock after previous patches applied. Below patch makes stripe release batch. All the stripes will be released in unplug. The STRIPE_ON_UNPLUG_LIST bit is to protect concurrent access stripe lru. Signed-off-by: Shaohua Li Signed-off-by: NeilBrown --- Reading git-diff-tree failed