[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6db54b86-4f25-af15-692b-af067823d77e@kernel.dk>
Date: Fri, 25 Feb 2022 07:27:11 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Yu Kuai <yukuai3@...wei.com>, ming.lei@...hat.com, tj@...nel.org
Cc: cgroups@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, yi.zhang@...wei.com
Subject: Re: [PATCH v9] block: cancel all throttled bios in del_gendisk()
On 2/10/22 4:56 AM, Yu Kuai wrote:
> Throttled bios can't be issued after del_gendisk() is done, thus
> it's better to cancel them immediately rather than waiting for
> throttle is done.
>
> For example, if user thread is throttled with low bps while it's
> issuing large io, and the device is deleted. The user thread will
> wait for a long time for io to return.
I hand applied this for 5.18 as it's conflicting with other
changes. Please double check the end result.
--
Jens Axboe
Powered by blists - more mailing lists