On 7/6/23 17:38, Ming Lei wrote:
Given blk_mq_sched_try_insert_merge is only called from bfq and deadline, it may not matter to apply this optimization.
Without this patch, the documentation of the "nomerges" sysfs attribute is incorrect. I need this patch because I want the ability to disable merging even if an I/O scheduler has been selected. As mentioned in the patch description, I discovered this while I was writing a shell script that submits various I/O workloads to a block device. Bart.