From: Shaohua Li Date: Wed, 24 Aug 2011 14:04:32 +0000 (+0200) Subject: block: change force plug flush call order X-Git-Tag: v3.1-rc7~3^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a63271627521b825b0dd0a564e9a9c62b4c1ca89;p=pandora-kernel.git block: change force plug flush call order Do blk_flush_plug_list() first and then add new request aDo blk_flush_plug_list() first and then add new request aDo blk_flush_plug_list() first and then add new request at the tail. New request can't be merged to existing requests, but later new requests might be merged with this new one. If blk_flush_plug_list() is done later, the merge doesn't happen. Believe it or not, this fixes a 10% regression running sysbench workload. Signed-off-by: Shaohua Li Signed-off-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed