[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c9517c34-4481-cba3-99fc-5a287c299416@linux.dev>
Date: Tue, 22 Aug 2023 10:27:47 +0800
From: Chengming Zhou <chengming.zhou@...ux.dev>
To: Bart Van Assche <bvanassche@....org>, axboe@...nel.dk,
ming.lei@...hat.com, hch@....de
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
zhouchengming@...edance.com
Subject: Re: [PATCH 2/4] blk-mq-tag: remove bt_for_each()
On 2023/8/22 05:26, Bart Van Assche wrote:
> On 8/21/23 00:35, chengming.zhou@...ux.dev wrote:
>> 2. __blk_mq_tagset_busy_iter() has BT_TAG_ITER_STARTED flag set, so only
>> started requests will be iterated, which should be more efficient.
>
> The above motivation sounds wrong to me. The goal here should be not to
> change the behavior of blk_mq_queue_tag_busy_iter(). Although
> blk_mq_queue_tag_busy_iter() iterates over more requests than only started
> requests, apparently blk_mq_queue_tag_busy_iter() is only used to iterate
> over started requests (blk_mq_request_started()). Please mention this in
> the patch description.
>
Ok, will do.
Thanks.
Powered by blists - more mailing lists