linux-yocto/drivers/block/aoe
Justin Sanders 270d637100 aoe: defer rexmit timer downdev work to workqueue
[ Upstream commit cffc873d68 ]

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: Justin Sanders <jsanders.devel@gmail.com>
Link: https://lore.kernel.org/r/20250610170600.869-2-jsanders.devel@gmail.com
Tested-By: Valentin Kleibel <valentin@vrvis.at>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-07-10 16:03:16 +02:00
..
aoe.h aoe: defer rexmit timer downdev work to workqueue 2025-07-10 16:03:16 +02:00
aoeblk.c aoe: avoid potential deadlock at set_capacity 2024-03-01 13:34:49 +01:00
aoechr.c aoe: make aoe_class a static const structure 2023-06-21 07:45:19 -06:00
aoecmd.c aoe: defer rexmit timer downdev work to workqueue 2025-07-10 16:03:16 +02:00
aoedev.c aoe: defer rexmit timer downdev work to workqueue 2025-07-10 16:03:16 +02:00
aoemain.c
aoenet.c aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts 2024-03-26 18:19:19 -04:00
Makefile