Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp281203pxa; Wed, 19 Aug 2020 00:41:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrZkMYJM4gk+zICu70MbaOizxHQliOckeOqn+j4b44YwwwPJrhPKdr/XeXHXcwQfpZ9qpO X-Received: by 2002:a05:6402:22bc:: with SMTP id cx28mr22677486edb.171.1597822918173; Wed, 19 Aug 2020 00:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597822918; cv=none; d=google.com; s=arc-20160816; b=ZctfP0xsa/5zPDTKafecdyqsvfYSoncU6cM7tkfbccuII7fYuae59XGM0tds65kCQq mmBN3DGC9gJpe743xz+l6uMh3U3Dfv3Fz3DjsQnxFM4HqletraeLcNOVqEH5pRfexQqa LhDXmwrVuSltgi1uMvzKZzkvoLyNFqvRmSwq0+AbjkoBJxsYXWu3VMggimak9683hnzH 61jnjcPZOD8oKlJAjrx3ga0qZdDZ1t/eb3MzqQxs+YNtp8ZTMnfUL0WjX6XnqVXdJSZT p1T9XtKyaEXL7tZ6UjoZy0wsRV4IAc9gNSsyg1J9Pgu/D2NnphYPw1QjeCSltSMgFWDF LntQ== 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=38CDSjKCeJCDDvKHTteai8C9XC/Vf38AUWKkGLR/xdE=; b=TUId8ucKHm53c8tPaCdx4b2mVUnWCD1/MU6k8Hr0UO8h0539yKdPWaDvi8QCmDt7+s zt9kddtREd3Ayt4fRRyxIUBha34haQSD0MQSsLVcLH/HGFHmvuj8Eaxqvft1QfI1Huxi UHqOuYfywFgvzctHvJa2WrDCIZJcNclPWlr30DXXOht3dAoBWZpk3iYSF1dtwDJksI72 l0u7zao1KLnMwf5blzZXjFR3Wc5LekyvXTLqAYZXanECEZJMHb08Io2e1WiB0lsMveaM NHHag+fAyeStoFt5EQJ1XK1mdyyFzaHiZpdAiwZ0NMtz375jY567bDvJ6nJq222dv5SK lWMA== 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 e7si14231846ejh.723.2020.08.19.00.41.34; Wed, 19 Aug 2020 00:41:58 -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 S1726841AbgHSHkj (ORCPT + 99 others); Wed, 19 Aug 2020 03:40:39 -0400 Received: from verein.lst.de ([213.95.11.211]:36564 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgHSHkj (ORCPT ); Wed, 19 Aug 2020 03:40:39 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 910686736F; Wed, 19 Aug 2020 09:40:35 +0200 (CEST) Date: Wed, 19 Aug 2020 09:40:35 +0200 From: Christoph Hellwig To: Javier Gonzalez 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 Subject: Re: [PATCH 2/2] nvme: add emulation for zone-append Message-ID: <20200819074035.GA21991@lst.de> References: <20200818052936.10995-1-joshi.k@samsung.com> <20200818052936.10995-3-joshi.k@samsung.com> <20200818071249.GB2544@lst.de> <20200818095033.h6ybdwiq3ljagl5a@mpHalley.local> <20200818155004.GA26688@lst.de> <20200818180428.obipue6adpqqpwjj@MacBook-Pro.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200818180428.obipue6adpqqpwjj@MacBook-Pro.localdomain> 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 Tue, Aug 18, 2020 at 08:04:28PM +0200, Javier Gonzalez wrote: > I understand that you want vendor alignment in the NVMe driver and I > agree. We are not pushing for a non-append model - you can see that we > are investing effort in implementing the append path in thee block layer > and io_uring and we will continue doing so as patches get merged. > > This said, we do have some OEM models that do not implement append and I > would like them to be supported in Linux. As you know, new TPs are being > standardized now and the append emulation is the based for adding > support for this. I do not believe it is unreasonable to find a way to > add support for this SSDs. I do not think we should support anything but Zone Append, especially not the new TP, which is going to add even more horrible code for absolutely no good reason. > If you completely close the door this approach, the alternative is > carrying off-tree patches to the several OEMs that use these devices. > This is not good for the zoned ecosystem nor for the future of Zone > Append. I really don't have a problem with that. If these OEMs want to use an inferior access model only, they have to pay the price for it. I also don't think that proxy arguments are very useful. If you OEMs are troubled by carrying patches becomes they decided to buy inferior drivers they are perfectly happy to argue their cause here on the list. > Are you open to us doing some characterization and if the impact > to the fast path is not significant, moving ahead to a Zone Append > emulation like in SCSI? I will promise that we will remove this path if > requests for these devices terminate. As said I do not think implementing zone append emulation or the TP that shall not be named are a good idea for Linux.