From patchwork Thu Feb 11 18:15:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 12083841 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=-20.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 D2B91C433E0 for ; Thu, 11 Feb 2021 18:31:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A786464E9A for ; Thu, 11 Feb 2021 18:31:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbhBKSSK (ORCPT ); Thu, 11 Feb 2021 13:18:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231964AbhBKSQO (ORCPT ); Thu, 11 Feb 2021 13:16:14 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34904C061574 for ; Thu, 11 Feb 2021 10:15:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=1+jRkia4Eg99jOUPw9DGzfatdzoYmm+SnqtsPt/EHxo=; b=OoEiXDQpFCDeKQJ5wdSjg3LDR6 Hgn60QMNT8E2MhqlsQXVbZzAGjaiB4cnhjopx6AdpjVFSzM2ihuZD0mr74Mc0J11b4P5odAq/nr5d WZF+xtyK/oNjcNHDsJquvoLfoa3f7XjsmkOrggMY5J1bdH/qwV9Yh4YIWbDs0lIitBQQ1/y79Edxz e12+Uao+EcfpVSpYe90DGkEynYxuqsvjpeDBAuQ6hWBNfHIorZRnTsf9gC0DcQTEaxabcE+bjIHwR WEeneCgK8D9lpHOtw/KLcaO4+v1h+FOoMlobeSELNRB3faXFkPTECXeBL0642cQCEN3lmHUF7o4F1 PW6bMxkA==; Received: from [2001:4bb8:18c:3398:1d2c:8bc5:1480:8e26] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1lAGUx-00AaNh-SU; Thu, 11 Feb 2021 18:15:29 +0000 Date: Thu, 11 Feb 2021 19:15:26 +0100 From: Christoph Hellwig To: Jens Axboe Cc: Keith Busch , linux-block@vger.kernel.org, Sagi Grimberg , linux-nvme@lists.infradead.org Subject: [GIT PULL] second round of nvme updates for 5.12 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Note that we have some issues with the previous updates. We're working fast on fixes for those, but in the meantime I think it is good to get these changes out to you and into linux-next. The following changes since commit 6751c1e3cff3aa763c760c08862627069a37b50e: bcache: Avoid comma separated statements (2021-02-10 08:06:00 -0700) are available in the Git repository at: git://git.infradead.org/nvme.git tags/nvme-5.12-2021-02-11 for you to fetch changes up to e11e5116171dedeaf63735931e72ad5de0f30ed5: nvme-tcp: fix crash triggered with a dataless request submission (2021-02-11 08:04:51 +0100) ---------------------------------------------------------------- nvme updates for 5.12: - fix multipath handling of ->queue_rq errors (Chao Leng) - nvmet cleanups (Chaitanya Kulkarni) - add a quirk for buggy Amazon controller (Filippo Sironi) - avoid devm allocations in nvme-hwmon that don't interact well with fabrics (Hannes Reinecke) - sysfs cleanups (Jiapeng Chong) - fix nr_zones for multipath (Keith Busch) - nvme-tcp crash fix for no-data commands (Sagi Grimberg) - nvmet-tcp fixes (Sagi Grimberg) - add a missing __rcu annotation (me) ---------------------------------------------------------------- Chaitanya Kulkarni (10): nvmet: set status to 0 in case for invalid nsid nvmet: return uniform error for invalid ns nvmet: make nvmet_find_namespace() req based nvmet: remove extra variable in id-ns handler nvmet: add helper to report invalid opcode nvmet: use invalid cmd opcode helper nvmet: use invalid cmd opcode helper nvmet: use min of device_path and disk len nvmet: add nvmet_req_subsys() helper nvmet: remove else at the end of the function Chao Leng (4): blk-mq: introduce blk_mq_set_request_complete nvme: introduce a nvme_host_path_error helper nvme-fabrics: avoid double completions in nvmf_fail_nonready_command nvme-rdma: handle nvme_rdma_post_send failures better Christoph Hellwig (1): nvmet-fc: add a missing __rcu annotation to nvmet_fc_tgt_assoc.queues Filippo Sironi (1): nvme: add 48-bit DMA address quirk for Amazon NVMe controllers Hannes Reinecke (1): nvme-hwmon: rework to avoid devm allocation Jiapeng Chong (1): nvme: convert sysfs sprintf/snprintf family to sysfs_emit Keith Busch (1): nvme-multipath: set nr_zones for zoned namespaces Sagi Grimberg (3): nvmet-tcp: fix receive data digest calculation for multiple h2cdata PDUs nvmet-tcp: fix potential race of tcp socket closing accept_work nvme-tcp: fix crash triggered with a dataless request submission drivers/nvme/host/core.c | 26 +++++++++++++---- drivers/nvme/host/fabrics.c | 6 +--- drivers/nvme/host/hwmon.c | 31 +++++++++++++------- drivers/nvme/host/multipath.c | 4 +++ drivers/nvme/host/nvme.h | 15 ++++++++++ drivers/nvme/host/pci.c | 21 +++++++++++++- drivers/nvme/host/rdma.c | 4 ++- drivers/nvme/host/tcp.c | 2 +- drivers/nvme/target/admin-cmd.c | 59 ++++++++++++++++----------------------- drivers/nvme/target/core.c | 37 +++++++++++++++--------- drivers/nvme/target/fc.c | 2 +- drivers/nvme/target/io-cmd-bdev.c | 5 +--- drivers/nvme/target/io-cmd-file.c | 5 +--- drivers/nvme/target/nvmet.h | 10 +++++-- drivers/nvme/target/passthru.c | 6 ++-- drivers/nvme/target/tcp.c | 59 ++++++++++++++++++++++++++++----------- drivers/nvme/target/trace.h | 9 ++++-- include/linux/blk-mq.h | 12 ++++++++ 18 files changed, 208 insertions(+), 105 deletions(-)