Re: [PATCH 1/5] blk-iocost: move shared definitions to blk-iocost.h

From: Tao Cui

Date: Thu Oct 29 2026 - 06:07:45 EST


Hello Tejun,

在 2026/10/29 04:09, Tejun Heo 写道:
> Hello, Tao.
>
> On Wed, Oct 28, 2026 at 10:35:30PM +0800, Tao Cui wrote:
>> -static struct blkcg_policy blkcg_policy_iocost;
>> -
>> -/* accessors and helpers */
>> -static struct ioc *rqos_to_ioc(struct rq_qos *rqos)
>
> This isn't a pure move. The comment is dropped here.
>
>> }
>>
>> -
>> static int ioc_weight_show(struct seq_file *sf, void *v)
>
> The blank line removal is unrelated to the move.
>
>> + bool user_qos_params:1;
>> + bool user_cost_model:1;
>> +
>> +};
>
> The blank line is new, and 2/5 then replaces it.
>

Dropping patch 1 resolves all three: v12 folds the definitions back
into blk-iocost.c with the original comments and spacing intact, so
there is no move left to keep pure.

Sorry, I should have caught these before posting.

Thanks,
Tao

> Thanks.
>
> --
> tejun