summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
authorMing Lei2015-10-20 17:13:55 +0200
committerJens Axboe2015-10-21 23:00:54 +0200
commit7460d389c01741f0dfff733af93d3b3abd9b974e (patch)
treeec3904b3fab8e38bb5b2c583cdde993ef2d7f451 /block/blk-mq.c
parentblk-mq: check bio_mergeable() early before merging (diff)
downloadkernel-qcow2-linux-7460d389c01741f0dfff733af93d3b3abd9b974e.tar.gz
kernel-qcow2-linux-7460d389c01741f0dfff733af93d3b3abd9b974e.tar.xz
kernel-qcow2-linux-7460d389c01741f0dfff733af93d3b3abd9b974e.zip
block: check bio_mergeable() early before merging
After bio splitting is introduced, one bio can be splitted and it is marked as NOMERGE because it is too fat to be merged, so check bio_mergeable() earlier to avoid to try to merge it unnecessarily. Signed-off-by: Ming Lei <ming.lei@canonical.com> Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions