[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cc68915d-dbc2-e77e-a73e-ef289eb579cd@huaweicloud.com>
Date: Mon, 25 Mar 2024 09:15:41 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Mike Snitzer <snitzer@...nel.org>, Yu Kuai <yukuai1@...weicloud.com>
Cc: ming.lei@...hat.com, hch@....de, bvanassche@....org, axboe@...nel.dk,
mpatocka@...hat.com, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yi.zhang@...wei.com, yangerkun@...wei.com,
"yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH 2/2] block: remove blk_mq_in_flight() and
blk_mq_in_flight_rw()
Hi,
在 2024/03/25 5:57, Mike Snitzer 写道:
> On Sat, Mar 23 2024 at 10:11P -0400,
> Yu Kuai <yukuai1@...weicloud.com> wrote:
>
>> Hi,
>>
>> 在 2024/03/24 0:05, Mike Snitzer 写道:
>>> On Fri, Mar 22 2024 at 11:59P -0400,
>>> Yu Kuai <yukuai1@...weicloud.com> wrote:
>>>
>>>> From: Yu Kuai <yukuai3@...wei.com>
>>>>
>>>> Now that blk-mq also use per_cpu counter to trace inflight as bio-based
>>>> device, they can be replaced by part_in_flight() and part_in_flight_rw()
>>>> directly.
>>>
>>> Please reference the commit that enabled this, e.g.:
>>>
>>> With commit XXXXX ("commit subject") blk-mq was updated to use per_cpu
>>> counters to track inflight IO same as bio-based devices, so replace
>>> blk_mq_in_flight* with part_in_flight() and part_in_flight_rw()
>>> accordingly.
>>
>> Patch 1 in this set do this, so there is no commit xxx yet.
>>
>> Thanks,
>> Kuai
>
> Would've helped if I looked at 1/2, but please say:
>
> With the previous commit blk-mq was updated to use per_cpu ...
OK, will pay attention to it later. :)
Thanks,
Kuai
> .
>
Powered by blists - more mailing lists