2023-09-05 16:05:54

by Chengming Zhou

[permalink] [raw]
Subject: [PATCH v2 0/1] block/null_blk: fix poll request timeout panic

From: Chengming Zhou <[email protected]>

Changes in v2:
- Improve the commit message a little.
- Add Tested-by from David Howells and Reviewed-by from Ming Lei.

The 't/io_uring -n4 /dev/nullb0' is easy to trigger poll request timeout,
then panic the kernel.

This patch just fix the kernel panic problem in null_blk driver, the
io_uring poll request timeout problem is fixed by Ming Lei [1].

[1] https://lore.kernel.org/io-uring/[email protected]/

Chengming Zhou (1):
null_blk: fix poll request timeout handling

drivers/block/null_blk/main.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

--
2.41.0