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=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no 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 EF6ABC433E0 for ; Tue, 16 Jun 2020 13:47:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D89D920A8B for ; Tue, 16 Jun 2020 13:47:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728899AbgFPNrp (ORCPT ); Tue, 16 Jun 2020 09:47:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:51888 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726306AbgFPNro (ORCPT ); Tue, 16 Jun 2020 09:47:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E196FAD25; Tue, 16 Jun 2020 13:47:46 +0000 (UTC) Date: Tue, 16 Jun 2020 15:47:41 +0200 From: Daniel Wagner To: Keith Busch Cc: linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Jens Axboe , Damien Le Moal , Christoph Hellwig , Matias =?utf-8?B?QmrDuHJsaW5n?= , Sagi Grimberg Subject: Re: [PATCH 1/5] block: add capacity field to zone descriptors Message-ID: <20200616134741.zvs55r6pga5w2pvo@beryllium.lan> References: <20200615233424.13458-1-keith.busch@wdc.com> <20200615233424.13458-2-keith.busch@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200615233424.13458-2-keith.busch@wdc.com> Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Tue, Jun 16, 2020 at 08:34:20AM +0900, Keith Busch wrote: > From: Matias Bjørling > > In the zoned storage model, the sectors within a zone are typically all > writeable. With the introduction of the Zoned Namespace (ZNS) Command > Set in the NVM Express organization, the model was extended to have a > specific writeable capacity. > > Extend the zone descriptor data structure with a zone capacity field to > indicate to the user how many sectors in a zone are writeable. > > Introduce backward compatibility in the zone report ioctl by extending > the zone report header data structure with a flags field to indicate if > the capacity field is available. > > Signed-off-by: Matias Bjørling Reviewed-by: Daniel Wagner 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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 7D646C433E0 for ; Tue, 16 Jun 2020 13:47:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 5537220A8B for ; Tue, 16 Jun 2020 13:47:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hcXhjH6i" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5537220A8B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de 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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jrM4zgxF0J8D1p7rLdyj0PDXHq/WAvjY46oUMqmZIDA=; b=hcXhjH6iHtyica sQJH5G6Ucn0/9Ny49cU9KQ3hmEdB79P4Sr1ZIBMZGW6vj45PpWnY+hEkESQbqmvw8wYdn9OGEIIP7 45MudpFVG/tyhfoHAUmRe7uSImnt+1ss39RI2jqn8i95LeuR64p6td+oSAsAzNmPdP2t/ugh6mpe0 zdOATbxHqsC5nu19mIVhee65Jd9p5Ft5Yb4a5TPCe1Dbr8Ri/alFHbtbDSSmq5aokpKpSCKnP+bs+ 7IdNsJ2pV7y/rg0UU2P19L8FFZ3EbDxlepq52F6EdRvCXe/A29p2OqCX2XLsHB0kDMRN6SoWES7Lz DomXTxJFiFJO8B+69HeA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlBwQ-0006Q9-7d; Tue, 16 Jun 2020 13:47:54 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jlBwN-0006PN-KL for linux-nvme@lists.infradead.org; Tue, 16 Jun 2020 13:47:52 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id E196FAD25; Tue, 16 Jun 2020 13:47:46 +0000 (UTC) Date: Tue, 16 Jun 2020 15:47:41 +0200 From: Daniel Wagner To: Keith Busch Subject: Re: [PATCH 1/5] block: add capacity field to zone descriptors Message-ID: <20200616134741.zvs55r6pga5w2pvo@beryllium.lan> References: <20200615233424.13458-1-keith.busch@wdc.com> <20200615233424.13458-2-keith.busch@wdc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200615233424.13458-2-keith.busch@wdc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200616_064751_811030_246CBB27 X-CRM114-Status: UNSURE ( 9.87 ) 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: Jens Axboe , Damien Le Moal , Sagi Grimberg , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, Christoph Hellwig , Matias =?utf-8?B?QmrDuHJsaW5n?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Tue, Jun 16, 2020 at 08:34:20AM +0900, Keith Busch wrote: > From: Matias Bj=F8rling > = > In the zoned storage model, the sectors within a zone are typically all > writeable. With the introduction of the Zoned Namespace (ZNS) Command > Set in the NVM Express organization, the model was extended to have a > specific writeable capacity. > = > Extend the zone descriptor data structure with a zone capacity field to > indicate to the user how many sectors in a zone are writeable. > = > Introduce backward compatibility in the zone report ioctl by extending > the zone report header data structure with a flags field to indicate if > the capacity field is available. > = > Signed-off-by: Matias Bj=F8rling Reviewed-by: Daniel Wagner _______________________________________________ linux-nvme mailing list linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme