Re: [PATCH RESEND 5/5] block: Remove __blk_mq_sched_bio_merge() helper
From: Christoph Hellwig <hch@lst.de>
Date: 2020-08-17 06:32:48
Also in:
lkml
From: Christoph Hellwig <hch@lst.de>
Date: 2020-08-17 06:32:48
Also in:
lkml
On Mon, Aug 17, 2020 at 12:09:19PM +0800, Baolin Wang wrote:
The blk_mq_sched_bio_merge() just wrap the __blk_mq_sched_bio_merge(), and no other places will use __blk_mq_sched_bio_merge(). Thus we can combine these 2 similar functions into one function.
I think the idea was to avoid the function call for the nomerges fast path. Not sure if that is really worth it.