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=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 8175DC433E0 for ; Fri, 26 Jun 2020 09:07:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 62DB320675 for ; Fri, 26 Jun 2020 09:07:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725905AbgFZJHO (ORCPT ); Fri, 26 Jun 2020 05:07:14 -0400 Received: from verein.lst.de ([213.95.11.211]:50984 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbgFZJHN (ORCPT ); Fri, 26 Jun 2020 05:07:13 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 0C01D68C7B; Fri, 26 Jun 2020 11:07:10 +0200 (CEST) Date: Fri, 26 Jun 2020 11:07:09 +0200 From: Christoph Hellwig To: Matias =?iso-8859-1?Q?Bj=F8rling?= Cc: Javier =?iso-8859-1?Q?Gonz=E1lez?= , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, hch@lst.de, kbusch@kernel.org, sagi@grimberg.me, axboe@kernel.dk, Javier =?iso-8859-1?Q?Gonz=E1lez?= , SelvaKumar S , Kanchan Joshi , Nitesh Shetty Subject: Re: [PATCH 3/6] block: add support for zone offline transition Message-ID: <20200626090709.GA26616@lst.de> References: <20200625122152.17359-1-javier@javigon.com> <20200625122152.17359-4-javier@javigon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Jun 25, 2020 at 04:12:21PM +0200, Matias Bjørling wrote: > I am not sure this makes sense to expose through the kernel zone api. One > of the goals of the kernel zone API is to be a layer that provides an > unified zone model across SMR HDDs and ZNS SSDs. The offline zone > operation, as defined in the ZNS specification, does not have an equivalent > in SMR HDDs (ZAC/ZBC). > > This is different from the Zone Capacity change, where the zone capacity > simply was zone size for SMR HDDs. Making it easy to support. That is not > the same for ZAC/ZBC, that does not offer the offline operation to > transition zones in read only state to offline state. Bullshit. It is eactly the same case of careful additions to the model, which totally make sense. The only major issue with the patch is that we need a flag to indicate if a given device supports offlining zones before wiring it up.