From patchwork Sat Aug 4 08:43:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 10555631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2D41E15A6 for ; Sat, 4 Aug 2018 08:44:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 112212A5D5 for ; Sat, 4 Aug 2018 08:44:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0227B2A5DB; Sat, 4 Aug 2018 08:44:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BC0E2A5D5 for ; Sat, 4 Aug 2018 08:44:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726566AbeHDKnw (ORCPT ); Sat, 4 Aug 2018 06:43:52 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38420 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbeHDKnw (ORCPT ); Sat, 4 Aug 2018 06:43:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WJoorcyA/nYsVkvPOaZfqd6F3wlXDrlOrij7ZDHlbKA=; b=ElQLGyoJq2zOsiqoy4DDZXdOkU ewKcp8EgtL+wbOm8G2+tlb4eXA7WFUnio1vOey+ILftBOUMl1DVm4gEVAWuxRf3lAKYyW5gt/ZjyO gxzj3nH9+T5/GbRrucrjgyr++fhsSdpEZuXlQVZYE7LFfFdHXOVdqWb4GA5NRwTEYk+KtJIHm3KXa joSwa/lPnNGKK7akkujcbbMfjk1+Pmibn6/9gup5U22ppKQrmXAHADnYzkrQjJT95WmWr5fJ9DpzJ P7VzFdJp+HHyHtwmr68NGZZPsJxpKnIYlGx3aWOs/kqa/ZX8CPnKeiIDbbSQ/CUdWnOFde1Qbg1Lh dGBuRnrQ==; Received: from [46.125.249.69] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1flsAG-0002Lh-Ox; Sat, 04 Aug 2018 08:43:57 +0000 Date: Sat, 4 Aug 2018 10:43:54 +0200 From: Christoph Hellwig To: Jens Axboe Cc: Keith Busch , linux-block@vger.kernel.org, Sagi Grimberg , linux-nvme@lists.infradead.org Subject: nvme updates for 4.19 Message-ID: <20180804084354.GA26103@infradead.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This conatains the support for TP4004, Asymmetric Namespace Access, which makes NVMe multipathing usable in practice. The following changes since commit cdcdcaae8450a975e7d07e1bfec21f9b8c016d0c: scsi: virtio_scsi: fix pi_bytes{out,in} on 4 KiB block size devices (2018-07-26 15:49:43 -0600) are available in the Git repository at: git://git.infradead.org/nvme.git nvme-4.19 for you to fetch changes up to b369b30cf510fe94d8884837039362e2ec223cec: nvmet: use Retain Async Event bit to clear AEN (2018-07-27 19:14:31 +0200) ---------------------------------------------------------------- Chaitanya Kulkarni (1): nvmet: use Retain Async Event bit to clear AEN Christoph Hellwig (9): nvme.h: add support for the log specific field nvme.h: add ANA definitions nvme: simplify the API for getting log pages nvme: remove nvme_req_needs_failover nvme: add ANA support nvmet: keep a port pointer in nvmet_ctrl nvmet: track and limit the number of namespaces per subsystem nvmet: add minimal ANA support nvmet: support configuring ANA groups drivers/nvme/host/core.c | 77 +++++---- drivers/nvme/host/lightnvm.c | 5 +- drivers/nvme/host/multipath.c | 349 +++++++++++++++++++++++++++++++++++++--- drivers/nvme/host/nvme.h | 61 +++++-- drivers/nvme/target/admin-cmd.c | 104 +++++++++++- drivers/nvme/target/configfs.c | 190 ++++++++++++++++++++++ drivers/nvme/target/core.c | 71 +++++++- drivers/nvme/target/nvmet.h | 53 +++++- include/linux/nvme.h | 52 +++++- 9 files changed, 884 insertions(+), 78 deletions(-)