Skip to content
Commit cffc873d authored by Justin Sanders's avatar Justin Sanders Committed by Jens Axboe
Browse files

aoe: defer rexmit timer downdev work to workqueue

When aoe's rexmit_timer() notices that an aoe target fails to respond to
commands for more than aoe_deadsecs, it calls aoedev_downdev() which
cleans the outstanding aoe and block queues. This can involve sleeping,
such as in blk_mq_freeze_queue(), which should not occur in irq context.

This patch defers that aoedev_downdev() call to the aoe device's
workqueue.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=212665


Signed-off-by: default avatarJustin Sanders <jsanders.devel@gmail.com>
Link: https://lore.kernel.org/r/20250610170600.869-2-jsanders.devel@gmail.com


Tested-By: default avatarValentin Kleibel <valentin@vrvis.at>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 7f90d45e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment