Re: [PATCH] block/blk-mq: Don't complete locally if capacities are different

From: Christoph Hellwig
Date: Tue Jan 23 2024 - 03:47:53 EST


On Mon, Jan 22, 2024 at 10:42:20PM +0000, Qais Yousef wrote:
> The logic in blk_mq_complete_need_ipi() assumes SMP systems where all
> CPUs have equal capacities

What is a capacity here?

> + return arch_scale_cpu_capacity(this_cpu) >= arch_scale_cpu_capacity(that_cpu);

oerly long line here.

Also pleas split patches for different subsystems.