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=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 625DDC433B4 for ; Thu, 8 Apr 2021 07:27:02 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 E1FF6610F8 for ; Thu, 8 Apr 2021 07:27:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E1FF6610F8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=wwS2m0AUdVDJU1HXPpjep9U1rnzyKqCByGJM2RBBtoE=; b=OGGqFR5smCO4KFRp0Nm3FhPmT t633XC6ZS4TNiO+cPknu9F0ERRIbG9UQi3K70gfIn+vpvrAwVMqQPT54kTB524hRJDBr1eeZukcQk wBaTiBitKqM02wf6DcyZmNR/TWa9I9eSCvAUdMmge7dfkYOY3Z2we5OfWrjLv5b6evS3c9cxJuvHZ ZP+f1tZy6V0tWzpUNcqjWSDG+1Cs4nNiNHmT5ed1igcOvxFCVgKWP2I7vTX/YHDt/CXO5JgffsYQs ZjLWWUu5v5Fg/+y39p7wHQ4mDKVT5VJQiL1pNfHNobxxfeoTybN3yTIAaip+JVq86ulHrsP1nbDca Esxoa0iEw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUP3w-007DP3-KL; Thu, 08 Apr 2021 07:26:48 +0000 Received: from verein.lst.de ([213.95.11.211]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUP3s-007DO7-6t for linux-nvme@lists.infradead.org; Thu, 08 Apr 2021 07:26:46 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id F328968B05; Thu, 8 Apr 2021 09:26:41 +0200 (CEST) Date: Thu, 8 Apr 2021 09:26:41 +0200 From: Christoph Hellwig To: Javier =?iso-8859-1?Q?Gonz=E1lez?= Cc: Christoph Hellwig , Minwoo Im , linux-nvme@lists.infradead.org, Keith Busch , Jens Axboe , Sagi Grimberg , Kanchan Joshi Subject: Re: [PATCH V2 1/1] nvme: introduce generic per-namespace chardev Message-ID: <20210408072641.GA24793@lst.de> References: <20210407131527.GA15142@lst.de> <20210407141128.GB2805@localhost> <20210407142152.GA20466@lst.de> <20210407153536.GA8667@localhost> <20210407154730.GC8667@localhost> <20210407164818.GA31878@lst.de> <20210407170905.GB9994@localhost> <20210407171400.GA32592@lst.de> <20210408071128.pps76zydao3oufqn@mpHalley.localdomain> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210408071128.pps76zydao3oufqn@mpHalley.localdomain> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210408_082644_427131_27DC3A12 X-CRM114-Status: GOOD ( 11.91 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Thu, Apr 08, 2021 at 09:11:28AM +0200, Javier Gonz=E1lez wrote: > This would be useful for devices with metadata that is not supported by > the block layer, i.e., nvme_configure_metadata(). You mean in nvme_update_disk_info? It would be the right thing to do, but back in the day the maintainers opted for the zero capacity block device hack. At least we now have the char device as well. _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme