diff options
author | Shaohua Li <shaohua.li@intel.com> | 2011-08-24 16:04:32 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-08-24 16:04:32 +0200 |
commit | a63271627521b825b0dd0a564e9a9c62b4c1ca89 (patch) | |
tree | 8cb0076737679544da5de89484548c921e2131cc /block/blk-exec.c | |
parent | block: Fix queue_flag update when rq_affinity goes from 2 to 1 (diff) | |
download | linux-a63271627521b825b0dd0a564e9a9c62b4c1ca89.tar.xz linux-a63271627521b825b0dd0a564e9a9c62b4c1ca89.zip |
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 <shli@kernel.org>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions