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

chengming.zhou@linux.dev posted 1 patch 2 years, 3 months ago
drivers/block/null_blk/main.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
[PATCH v2 0/1] block/null_blk: fix poll request timeout panic
Posted by chengming.zhou@linux.dev 2 years, 3 months ago
From: Chengming Zhou <zhouchengming@bytedance.com>

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@redhat.com/

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
Re: [PATCH v2 0/1] block/null_blk: fix poll request timeout panic
Posted by Jens Axboe 2 years, 3 months ago
On Fri, 01 Sep 2023 20:03:05 +0800, chengming.zhou@linux.dev wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] null_blk: fix poll request timeout handling
      commit: 5a26e45edb4690d58406178b5a9ea4c6dcf2c105

Best regards,
-- 
Jens Axboe