]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: only try to run plug merge if request has same queue with incoming bio
authorMing Lei <ming.lei@redhat.com>
Tue, 2 Nov 2021 13:35:00 +0000 (21:35 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 3 Nov 2021 15:27:57 +0000 (09:27 -0600)
commit4aeff6af832f2049bbf494bbc4220d4053062c1a
treed1a1d8b542c176c5c9c2527873939f6af1c4c2b1
parent000e8d48f08219dea994d190a68e553247dfc487
blk-mq: only try to run plug merge if request has same queue with incoming bio

It is obvious that io merge can't be done between two different queues, so
just try to run io merge in case of same queue.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20211102133502.3619184-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-merge.c