[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <90486cfb-f3b5-2067-738f-f3fba8f9d09a@gmail.com>
Date: Wed, 16 Feb 2022 10:11:55 +0800
From: Wang Jianchao <jianchao.wan9@...il.com>
To: Bart Van Assche <bvanassche@....org>, Jens Axboe <axboe@...nel.dk>
Cc: hch@...radead.org, Josef Bacik <jbacik@...com>,
Tejun Heo <tj@...nel.org>, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC V2 1/6] blk: make blk-rq-qos support pluggable and modular
policy
On 2022/2/16 5:23 上午, Bart Van Assche wrote:
> On 2/15/22 04:37, Wang Jianchao (Kuaishou) wrote:
>> @@ -337,6 +338,7 @@ void blk_cleanup_queue(struct request_queue *q)
>> * it is safe to free requests now.
>> */
>> mutex_lock(&q->sysfs_lock);
>> + rq_qos_exit(q);
>> if (q->elevator)
>> blk_mq_sched_free_rqs(q);
>> mutex_unlock(&q->sysfs_lock);
>
> I think this change should be a separate patch with tag "Fixes: 8e141f9eb803 ("block: drain file system I/O on del_gendisk")". See also https://lore.kernel.org/linux-block/b64942a1-0f7e-9e9c-0fd4-c35647035eaf@acm.org/
>
Yes, I will do it in next version
Thanks
Jianchao
Powered by blists - more mailing lists