[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Zf79w4Ip3fzSMCWh@redhat.com>
Date: Sat, 23 Mar 2024 12:05:23 -0400
From: Mike Snitzer <snitzer@...nel.org>
To: 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, yukuai3@...wei.com,
yi.zhang@...wei.com, yangerkun@...wei.com
Subject: Re: [PATCH 2/2] block: remove blk_mq_in_flight() and
blk_mq_in_flight_rw()
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.
(I'm not seeing the commit in question, but I only took a quick look).
Mike
Powered by blists - more mailing lists