Re: [PATCH RESEND 2/5] block: Remove redundant blk_mq_sched_allow_merge() validation

2020-08-17 Thread Baolin Wang
On Mon, Aug 17, 2020 at 08:22:24AM +0200, Christoph Hellwig wrote: > On Mon, Aug 17, 2020 at 12:09:16PM +0800, Baolin Wang wrote: > > Only software queue and kyber IO scheduler will call blk_mq_bio_list_merge() > > to merge a bio, and kyber IO scheduler did not implement the > > ops->allow_merge()

Re: [PATCH RESEND 2/5] block: Remove redundant blk_mq_sched_allow_merge() validation

2020-08-16 Thread Christoph Hellwig
On Mon, Aug 17, 2020 at 12:09:16PM +0800, Baolin Wang wrote: > Only software queue and kyber IO scheduler will call blk_mq_bio_list_merge() > to merge a bio, and kyber IO scheduler did not implement the > ops->allow_merge(). Please line wrap your changelogs after 73 characters. > Thus we can rem

[PATCH RESEND 2/5] block: Remove redundant blk_mq_sched_allow_merge() validation

2020-08-16 Thread Baolin Wang
Only software queue and kyber IO scheduler will call blk_mq_bio_list_merge() to merge a bio, and kyber IO scheduler did not implement the ops->allow_merge(). Thus we can remove the redundant blk_mq_sched_allow_merge() in blk_mq_bio_list_merge() function. Signed-off-by: Baolin Wang --- block/blk-