Re: [PATCH 1/2] aoe: clean device rq_list in aoedev_downdev()

From: Valentin Kleibel
Date: Tue Jun 17 2025 - 08:31:56 EST


On 10/06/2025 19.05, Justin Sanders wrote:
An aoe device's rq_list contains accepted block requests that are
waiting to be transmitted to the aoe target. This queue was added as
part of the conversion to blk_mq. However, the queue was not cleaned out
when an aoe device is downed which caused blk_mq_freeze_queue() to sleep
indefinitely waiting for those requests to complete, causing a hang. This
fix cleans out the queue before calling blk_mq_freeze_queue().

Link: https://bugzilla.kernel.org/show_bug.cgi?id=212665
Fixes: 3582dd291788 ("aoe: convert aoeblk to blk-mq")
Signed-off-by: Justin Sanders <jsanders.devel@xxxxxxxxx>

Thank you very much for the patches to fix this issue.
We have tested them in our environment and can confirm that they work as expected.

Tested-By: Valentin Kleibel <valentin@xxxxxxxx>

Best Regards,
Valentin