Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp986647pxa; Wed, 19 Aug 2020 22:33:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJMK6NdbXj02LCY1uYE75yD4/DwgQQYPEwZICctkYx4e/YtIUmSztb5ffdJuIe/UteYRD/ X-Received: by 2002:a17:906:d187:: with SMTP id c7mr1736739ejz.196.1597901637244; Wed, 19 Aug 2020 22:33:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597901637; cv=none; d=google.com; s=arc-20160816; b=DRQGxBmxPf8/x1DMiU4Vd2dA+RLxIXcvA1RdO7g0NS+qikaDZehix8P0V5EMliD1eP lEZwgCHaJ83VyVpmbnk022XtbaVDrUm9MV6r5mrG6prHGTefKdZEQNflr3YUbS1F5pPq mLy1MP4YRn3dyAqdL9x6nFcMpavE1ktmH0Zer2DI12wUARw9yVhZE3OpmoSwi/CJW4sW Hp7q8CxmnFPgz0N/7uH4w765DgH9C+fpQ05FqZi/MAqjY5hULL9iluW46qyHRNb/iZrM UMIRKoEsBuZodrW4msGS97PnHOAg0iaWStuQSAYwpkoyGtAHooKLe9lTff9O1yc6ZgyZ V2vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zaF62BADnEtKmZOOYleGrfuIrM7W9MjOrU4pfEYHSAs=; b=u+rk5zZh+RAN7n6kyXNSZIv7Mm3Dida50NZ8QasPp2iGQRXGaBRURs5l39pGZ2npgT 5qb7F3ePP8WsTPFZ8dXz2oV+DIz1QSgIWGGY9fd3og1I8TarW2qeshCR07iwnKaVV+7K EEJqwPy2p+ws8aBzq1401kKdwdTtLUrQ7OTb8lzV9LvqJU11rsoEyeNPl2f9I5hS89zK v5fio3F7zRhQ3W54QVaCHBkBerBiaYW8cXz29uoCN4sg/seqfNuqNtqesyCWyZYpeRS5 cPMbNZBCAtli0l9abFC5ALFSDK3FKsvkMQ8y+VcR7iDL3gDO7cjeNaxZBfFmuEfByFqw y/RA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 65si675444edg.548.2020.08.19.22.33.33; Wed, 19 Aug 2020 22:33:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726816AbgHTF3Z (ORCPT + 99 others); Thu, 20 Aug 2020 01:29:25 -0400 Received: from verein.lst.de ([213.95.11.211]:40608 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbgHTF3Z (ORCPT ); Thu, 20 Aug 2020 01:29:25 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id BC97B68BEB; Thu, 20 Aug 2020 07:29:21 +0200 (CEST) Date: Thu, 20 Aug 2020 07:29:21 +0200 From: Christoph Hellwig To: David Fugate Cc: Christoph Hellwig , Kanchan Joshi , "kbusch@kernel.org" , "Damien.LeMoal@wdc.com" , "axboe@kernel.dk" , "sagi@grimberg.me" , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "johannes.thumshirn@wdc.com" , Nitesh Shetty , SelvaKumar S , Javier Gonzalez Subject: Re: [PATCH 2/2] nvme: add emulation for zone-append Message-ID: <20200820052921.GA5391@lst.de> References: <20200818052936.10995-1-joshi.k@samsung.com> <20200818052936.10995-3-joshi.k@samsung.com> <20200818071249.GB2544@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 19, 2020 at 01:11:58PM -0600, David Fugate wrote: > On Tue, 2020-08-18 at 07:12 +0000, Christoph Hellwig wrote: > > On Tue, Aug 18, 2020 at 10:59:36AM +0530, Kanchan Joshi wrote: > > > If drive does not support zone-append natively, enable emulation > > > using > > > regular write. > > > Make emulated zone-append cmd write-lock the zone, preventing > > > concurrent append/write on the same zone. > > > > I really don't think we should add this. ZNS and the Linux support > > were all designed with Zone Append in mind, and then your company did > > the nastiest possible move violating the normal NVMe procedures to > > make > > it optional. But that doesn't change the fact the Linux should keep > > requiring it, especially with the amount of code added here and how > > it > > hooks in the fast path. > > Intel does not support making *optional* NVMe spec features *required* > by the NVMe driver. That is a great demand, but please stop talking of companies here, because companies simply don't matter for Linux development. People and use cases do, companies don't and your mail talking about companies really can't be taken serious. And I'm not sure why you think Linux is different from any other NVMe host OS. If random NVMe host A decided they need feature X they are going to require it, because why not. Especially if the developers of host A helped to drive the development of feature X. I'm pretty sure with a little background in storage standards you've seen that play out a lot before. And it is no different here.