]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: make per-sw-queue bio merge as default .bio_merge
authorMing Lei <ming.lei@redhat.com>
Fri, 26 May 2017 11:53:20 +0000 (19:53 +0800)
committerJens Axboe <axboe@fb.com>
Fri, 26 May 2017 20:12:04 +0000 (14:12 -0600)
commit777f6bf1460ab4871083e037d259c861a047ba45
treec4ec4b6a5ccf0df214f33780375f9fe5afcff12a
parent8379e60321023d1aee9365c11ded1e4a57312304
blk-mq: make per-sw-queue bio merge as default .bio_merge

Because what the per-sw-queue bio merge does is basically same with
scheduler's .bio_merge(), this patch makes per-sw-queue bio merge
as the default .bio_merge if no scheduler is used or io scheduler
doesn't provide .bio_merge().

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sched.c
block/blk-mq-sched.h
block/blk-mq.c