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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AE0E7C433F5 for ; Fri, 11 Mar 2022 22:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:References:MIME-Version: Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=e2KfYdPmHjXHf5iApFx0Xcj6H+UqG8ehsqB/kIWQmk8=; b=4L5VhBjPQH9tf8NSpo1fkwa82x cQqhxAAiWH94USB320k5BxX1vwQf33cl+1IXvJiNzZrs2avBGxnBM94hcaz2i5iO1V7j1RAQRPUTL BatrMDd0IkcWktEdVMt65zQoQL795rhafWVKz0Oj8WNDApubPyZwCWVDynoyslEfElZKCztFkcTMy SxeUKLk1XoXf4FF01gqfVpHnztnfVG8n8n01VCgZA7YpGGocmufZDHzFpXP30w2l1P56YUDrogMyb gKkDMO8B1HXkQDSKiyG5iXfIN67AJNdC/cMdQLK3KIQPOMQYkTyHJEAvymvCmK0mwrZugEzbzJakc Lbuh12bw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSnfp-000Nyo-VD; Fri, 11 Mar 2022 22:23:50 +0000 Received: from mailout1.w2.samsung.com ([211.189.100.11]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSnfd-000NyT-CL for linux-nvme@lists.infradead.org; Fri, 11 Mar 2022 22:23:39 +0000 Received: from uscas1p1.samsung.com (unknown [182.198.245.206]) by mailout1.w2.samsung.com (KnoxPortal) with ESMTP id 20220311222335usoutp016390bb1f1b3969ba168e7bb2d1c6b14a~bc81_kcsP1425314253usoutp017; Fri, 11 Mar 2022 22:23:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w2.samsung.com 20220311222335usoutp016390bb1f1b3969ba168e7bb2d1c6b14a~bc81_kcsP1425314253usoutp017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1647037415; bh=e2KfYdPmHjXHf5iApFx0Xcj6H+UqG8ehsqB/kIWQmk8=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=jlvrqMvw6Uh+oHfY0zXtAxSMn0q5pJvlJN1qTxGa244mhRyifjXqnr4bpfFnoI3Gf hT+NZUjec3rfKqTalXw2sCCcRNHs2MltWG1wFZN9zGscX0mof6IV0glkVCdhj5JBrL 74ln+u9/oWDlg+TjnSNNj1c7rdhpsYRHmBSvLBQw= Received: from ussmges1new.samsung.com (u109.gpu85.samsung.co.kr [203.254.195.109]) by uscas1p1.samsung.com (KnoxPortal) with ESMTP id 20220311222335uscas1p15c36105bca0a02d5c417eef730ff7970~bc812Z9LJ0368003680uscas1p15; Fri, 11 Mar 2022 22:23:35 +0000 (GMT) Received: from uscas1p2.samsung.com ( [182.198.245.207]) by ussmges1new.samsung.com (USCPEMTA) with SMTP id 1A.BD.09744.6EBCB226; Fri, 11 Mar 2022 17:23:34 -0500 (EST) Received: from ussmgxs2new.samsung.com (u91.gpu85.samsung.co.kr [203.254.195.91]) by uscas1p2.samsung.com (KnoxPortal) with ESMTP id 20220311222334uscas1p29231a37e852132dcf387fa70335e0dc1~bc81RSJbb0910309103uscas1p2H; Fri, 11 Mar 2022 22:23:34 +0000 (GMT) X-AuditID: cbfec36d-879ff70000002610-51-622bcbe656ea Received: from SSI-EX3.ssi.samsung.com ( [105.128.2.146]) by ussmgxs2new.samsung.com (USCPEXMTA) with SMTP id C8.94.10042.6EBCB226; Fri, 11 Mar 2022 17:23:34 -0500 (EST) Received: from SSI-EX3.ssi.samsung.com (105.128.2.228) by SSI-EX3.ssi.samsung.com (105.128.2.228) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.2242.4; Fri, 11 Mar 2022 14:23:33 -0800 Received: from SSI-EX3.ssi.samsung.com ([fe80::8d80:5816:c578:8c36]) by SSI-EX3.ssi.samsung.com ([fe80::8d80:5816:c578:8c36%3]) with mapi id 15.01.2242.008; Fri, 11 Mar 2022 14:23:33 -0800 From: Adam Manzanares To: Keith Busch CC: Luis Chamberlain , Christoph Hellwig , Pankaj Raghav , =?iso-8859-1?Q?Javier_Gonz=E1lez?= , "jiangbo.365@bytedance.com" , kanchan Joshi , Jens Axboe , Sagi Grimberg , =?iso-8859-1?Q?Matias_Bj=F8rling?= , Pankaj Raghav , Kanchan Joshi , "linux-block@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "Damien Le Moal" Subject: Re: [PATCH 0/6] power_of_2 emulation support for NVMe ZNS devices Thread-Topic: [PATCH 0/6] power_of_2 emulation support for NVMe ZNS devices Thread-Index: AQHYMw0mJrsy54HYKEakInde5wh546y457OAgAA1PQCAAB3bgIAB7+AAgAAI7oCAABmtgA== Date: Fri, 11 Mar 2022 22:23:33 +0000 Message-ID: <20220311222326.GA110401@bgt-140510-bm01> In-Reply-To: <20220311205135.GA413653@dhcp-10-100-145-180.wdc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [105.128.2.176] Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrHK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yS6dui/F9f5YzyT6Fjdxhd5i35 HLPwOONRtym87JwJqb8uXttS6PuldvaGVyv6zlU6vpX89NejPtHwq8uTidavuR+82Of1Sej/ zG9KLMUZiYZazEXFiQDIwYOijAMAAA== X-CMS-MailID: 20220311222334uscas1p29231a37e852132dcf387fa70335e0dc1 CMS-TYPE: 301P X-CMS-RootMailID: 20220308165414eucas1p106df0bd6a901931215cfab81660a4564 References: <20220308165349.231320-1-p.raghav@samsung.com> <20220310094725.GA28499@lst.de> <20220310144449.GA1695@lst.de> <20220311205135.GA413653@dhcp-10-100-145-180.wdc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220311_142337_644032_4700DB84 X-CRM114-Status: GOOD ( 18.50 ) 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: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org On Fri, Mar 11, 2022 at 12:51:35PM -0800, Keith Busch wrote: > On Fri, Mar 11, 2022 at 12:19:38PM -0800, Luis Chamberlain wrote: > > NAND has no PO2 requirement. The emulation effort was only done to help > > add support for !PO2 devices because there is no alternative. If we > > however are ready instead to go down the avenue of removing those > > restrictions well let's go there then instead. If that's not even > > something we are willing to consider I'd really like folks who stand > > behind the PO2 requirement to stick their necks out and clearly say tha= t > > their hw/fw teams are happy to deal with this requirement forever on ZN= S. >=20 > Regardless of the merits of the current OS requirement, it's a trivial > matter for firmware to round up their reported zone size to the next > power of 2. This does not create a significant burden on their part, as > far as I know. I can't comment on FW burdens but adding po2 zone size creates holes for th= e=20 FW to deal with as well. >=20 > And po2 does not even seem to be the real problem here. The holes seem > to be what's causing a concern, which you have even without po2 zones. > I'm starting to like the previous idea of creating an unholey > device-mapper for such users... I see holes as being caused by having to make zone size po2 when capacity i= s=20 not po2. po2 should be tied to the holes, unless I am missing something. BT= W if we go down the dm route can we start calling it dm-unholy.