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

From: chengming . zhou
Date: Fri Sep 01 2023 - 08:04:14 EST


From: Chengming Zhou <zhouchengming@xxxxxxxxxxxxx>

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/20230825090959.1866771-3-ming.lei@xxxxxxxxxx/

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