mbox series

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

Message ID 20230901120306.170520-1-chengming.zhou@linux.dev (mailing list archive)
Headers show
Series block/null_blk: fix poll request timeout panic | expand

Message

Chengming Zhou Sept. 1, 2023, 12:03 p.m. UTC
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(-)

Comments

Jens Axboe Sept. 1, 2023, 2:18 p.m. UTC | #1
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,