From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DD38C433DB for ; Tue, 5 Jan 2021 07:20:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B645A225AB for ; Tue, 5 Jan 2021 07:20:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B645A225AB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Mx2pRB3hPTYuStGdZkn3+lj+mBwe3nwNkbrkkR8fQ9o=; b=Ywp4GOu6f5DRZ94eiM3GDcXofh 13T38qqzgsH11oesX2kQsZ8+4TG2fFD/6t/72G22C9q2QFuu0kOJ2LDY9mF+HuNnnTNEFY94lLki3 LGDSVAc59p3/wkpEwDgM3fC7Se17a6t8J19y3T/6Hlih38+WdfbEjrg0eK0LI7lHbJ0jwLyXUUpTa s5A6zWnH+ouJuUQUy90yFu2cBN3jUfg0EuQz9IYS3cuIb6dGDAxLiweSdw8hhydVACSMag5nsM49M 9yO6Ck036LZFFqTNqxB0RxvUWlckU3/oDlo9TP28rN5oz1LCqvqEdj2z13D7OyNMnOdDVkC/16xRw 5jTreHDA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwgdG-00070H-UH; Tue, 05 Jan 2021 07:19:54 +0000 Received: from szxga05-in.huawei.com ([45.249.212.191]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kwgdE-0006xV-Cs for linux-nvme@lists.infradead.org; Tue, 05 Jan 2021 07:19:53 +0000 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4D93kg486lzMFcp; Tue, 5 Jan 2021 15:18:35 +0800 (CST) Received: from huawei.com (10.29.88.127) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.498.0; Tue, 5 Jan 2021 15:19:36 +0800 From: Chao Leng To: Subject: [PATCH 0/6] avoid repeated request completion and IO error Date: Tue, 5 Jan 2021 15:19:30 +0800 Message-ID: <20210105071936.25097-1-lengchao@huawei.com> X-Mailer: git-send-email 2.16.4 MIME-Version: 1.0 X-Originating-IP: [10.29.88.127] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210105_021952_710714_8A70FC22 X-CRM114-Status: UNSURE ( 5.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: axboe@kernel.dk, linux-block@vger.kernel.org, sagi@grimberg.me, axboe@fb.com, lengchao@huawei.com, kbusch@kernel.org, hch@lst.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org First avoid repeated request completion for nvmf_fail_nonready_command. Second avoid IO error and repeated request completion for queue_rq. Chao Leng (6): blk-mq: introduce blk_mq_set_request_complete nvme-core: introduce complete failed request nvme-fabrics: avoid repeated request completion for nvmf_fail_nonready_command nvme-rdma: avoid IO error and repeated request completion nvme-tcp: avoid IO error and repeated request completion nvme-fc: avoid IO error and repeated request completion drivers/nvme/host/fabrics.c | 4 +--- drivers/nvme/host/fc.c | 6 ++++-- drivers/nvme/host/nvme.h | 18 ++++++++++++++++++ drivers/nvme/host/rdma.c | 2 +- drivers/nvme/host/tcp.c | 2 +- include/linux/blk-mq.h | 5 +++++ 6 files changed, 30 insertions(+), 7 deletions(-) -- 2.16.4 _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme