Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1929969rdb; Tue, 5 Sep 2023 09:05:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE8RozYGEEstbSAEAri0PFN0laXWDOCw41fbGNxgGw5Zv/DJfHQLAmqU3KJwwpYgYgYE0UX X-Received: by 2002:aa7:d584:0:b0:523:3631:876c with SMTP id r4-20020aa7d584000000b005233631876cmr231936edq.18.1693929953911; Tue, 05 Sep 2023 09:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693929953; cv=none; d=google.com; s=arc-20160816; b=Syb4qVyPcYPl4SpaiibcyOK8zCfhz62DIMFp7mNMCreWjBLeu1A4miWM/mbGlxLq4n ephm1aPZrTR6jEmY1dmN3C+Vqd8km4d/YkAPTEszTiZFSwo12cubcld3vGSdTOHxmKXF bJlZRjIGc3FHVSISCWdG2q2QObNZmg2oknoHulbX1ipILq4WF457vHE6PYARUSbFJLlY 1i3m/HHa5gyJLgSl9VVpkOQa4tw6I1LAHSZRxJfC+rao6xzX54yAoP7KGUL3oydDnwda vEFKTekj36FRp5QffGcZfNOu8SZFggGlVpP9Yr8clZ1sEjPCF5hiNOybadnZ97BhrO4j KZTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=aPzD27O+rmaWG0GJE07A/fVAM3U3LHBfOe+kpNzB4EE=; fh=nDSWc3uhky6hhyRBeE8uSyUPTBw4Fd3b6NJ513KvRgs=; b=Wu51+J7FaKeDdIDYYywo8TVqUj/HcgS9GBBXVn9dZgiUqWXs0zI70uEVJfV61YCO02 yfKlCIJmEFHS7+M/MctScDCTdvDqJxQ4KVUpxrehB44p44/o/e7sQYUMF3MoxP6cHDoq mCP7c5oQHO+kbv4cs2H2kia8c8H38+UBjHyt8Ki8vj50aYzhKzRDWUjxq3KrVfOcUUQI /HxMa685o4j+tjSf3zCIPClnrF28HP0zZUtuaU+Cw30eX7XqgOM8geW9zghH1vdy2mEm O7JbmiqSMh4a5BZp9VZTTeb1lW4yudWCRhspQKsXwFwbpv6agRuPAuaDPii4d5Friif8 YTeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=a9Rk93lq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a20-20020aa7d754000000b005232cea0d77si7903821eds.343.2023.09.05.09.05.47; Tue, 05 Sep 2023 09:05:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=a9Rk93lq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240499AbjIAMEP (ORCPT + 10 others); Fri, 1 Sep 2023 08:04:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235315AbjIAMEO (ORCPT ); Fri, 1 Sep 2023 08:04:14 -0400 Received: from out-239.mta1.migadu.com (out-239.mta1.migadu.com [IPv6:2001:41d0:203:375::ef]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A47AFB5 for ; Fri, 1 Sep 2023 05:04:11 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1693569849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aPzD27O+rmaWG0GJE07A/fVAM3U3LHBfOe+kpNzB4EE=; b=a9Rk93lqeqlBVXErfMyXhpBTV29nyoxj6EX4GcL9vlEPi6Z9GrZDZU7ufhriwN+JxshOef ByjMYSLspDESegVViu8cEXDHIi0dN/uszlf9RcdLW69Z0sbvUaFkkcg3KXS3kML3KHIu4l EVXVAG/YzKxiI8TqUQqaZSDO12l0tNM= From: chengming.zhou@linux.dev To: axboe@kernel.dk, ming.lei@redhat.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, zhouchengming@bytedance.com, dhowells@redhat.com Subject: [PATCH v2 0/1] block/null_blk: fix poll request timeout panic Date: Fri, 1 Sep 2023 20:03:05 +0800 Message-ID: <20230901120306.170520-1-chengming.zhou@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chengming Zhou 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