linux-yocto/drivers/block
Justin Sanders ef0b5bbbed aoe: clean device rq_list in aoedev_downdev()
[ Upstream commit 7f90d45e57 ]

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: 3582dd2917 ("aoe: convert aoeblk to blk-mq")
Signed-off-by: Justin Sanders <jsanders.devel@gmail.com>
Link: https://lore.kernel.org/r/20250610170600.869-1-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-06-27 11:05:35 +01:00
..
aoe aoe: clean device rq_list in aoedev_downdev() 2025-06-27 11:05:35 +01:00
drbd drbd: Add NULL check for net_conf to prevent dereference in state validation 2024-10-17 15:11:13 +02:00
mtip32xx
null_blk null_blk: fix validation of block size 2024-07-27 10:46:09 +02:00
paride pcd: fix error codes in pcd_init_unit() 2023-09-19 12:23:04 +02:00
rnbd block/rnbd-srv: Check for unlikely string overflow 2024-02-23 08:54:43 +01:00
rsxx
xen-blkback
zram zram: refuse to use zero sized block device as backing device 2025-01-09 13:28:34 +01:00
amiflop.c
ataflop.c
brd.c brd: defer automatic disk creation until module initialization succeeds 2024-12-14 19:50:42 +01:00
cryptoloop.c
floppy.c
Kconfig
loop.c loop: aio inherit the ioprio of original request 2025-05-02 07:44:38 +02:00
loop.h
Makefile
n64cart.c block: rename GENHD_FL_NO_PART_SCAN to GENHD_FL_NO_PART 2023-09-19 12:23:02 +02:00
nbd.c nbd: don't allow reconnect after disconnect 2025-03-13 12:49:51 +01:00
pktcdvd.c
ps3disk.c
ps3vram.c
rbd_types.h
rbd.c rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings 2024-08-19 05:45:22 +02:00
sunvdc.c
swim_asm.S
swim.c
swim3.c
virtio_blk.c virtio-blk: don't keep queue frozen during system suspend 2025-01-09 13:28:40 +01:00
xen-blkfront.c xen/blkfront: Only check REQ_FUA for writes 2023-06-21 15:59:13 +02:00
z2ram.c