Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp3304850lfo; Mon, 23 May 2022 01:12:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcAETvXA7MO8xjxkMlpUYyA4DuiUsyoKj2Fv+tkOny+zhAX2Rw43YXzVL8lvnzIOAHy2NJ X-Received: by 2002:a17:902:c2d0:b0:15a:2344:f8a4 with SMTP id c16-20020a170902c2d000b0015a2344f8a4mr21647346pla.28.1653293534431; Mon, 23 May 2022 01:12:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653293534; cv=none; d=google.com; s=arc-20160816; b=pIJ/KsWVqLeQoh4iaXdxSNsGp5A0sDexWOmHAamEVRwwhonBl9MuTWKR7+JxfVzKpz hJxgkEqiHVFGxcJ5DQqfv+kkT2PHT5LICMJ2dilMbK1S7sRUsFAlDFFGAqaz58UzGVVf RF3ieT0Mqnt3vUo074VJuTZDgxbnUw0t4RAwftmJ0bLHahoGqmVB+SRnCNCjFoiDuM/V cPF6oRxt0UFCkqzSszLfIxNc9bwhF3t+H2urry/9D/pDpQFIrzFK5pXKFwTSoOOJd+pW YzMeKGskbKRxjOiqGseHpeltuzmRRhtc+d7dnAznSw3gHc6pDXa/IX47X+UzVDe8sWbx sa7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to :content-transfer-encoding:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature:dkim-filter; bh=FtiPxxeAqMIydXwHrRmAPLbmQRTffpcOCZWfzxgX4dc=; b=vFMKhS9Y8YSAlbA3P+cNwIoiQeJq7iSjUPgGGxjD1ez0V22gnHNltzpIOlRQhQODlH TdA4tXK9SoOP17rIXlTOMtUOrXJ30kNEuBf8nWv1rZFI0sdixTLuJCRFQEnWNCJbAVBQ vEFXNRqJyX5YV4lJ4LgBsrVLPu2dpr7oNju5s0K8Zcnb2oyvO7ZaLbkyM0prT21q+cmW kgmr99j5RRgCg+PW2/uxmV86fR2hDGwVSszIaStsC9YMfpI4X2V34Y7hgTs4iIttzLfE g7QFAbmrNQjW3fkcYTDBiJYeyETOEDv7Qydy3XaL9cxbltu5P6Jj27J52YB9rm0ivl7p d0lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=lbsQvIKj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n9-20020a1709026a8900b001544c952660si8916859plk.353.2022.05.23.01.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 01:12:14 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=lbsQvIKj; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5966022977A; Mon, 23 May 2022 00:06:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346515AbiETKQU (ORCPT + 99 others); Fri, 20 May 2022 06:16:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346577AbiETKQT (ORCPT ); Fri, 20 May 2022 06:16:19 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3190522F2 for ; Fri, 20 May 2022 03:16:16 -0700 (PDT) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20220520101612euoutp02184bc6af07a887caf76322898d58cc1d~wyLvJDPxr2361223612euoutp02Y for ; Fri, 20 May 2022 10:16:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20220520101612euoutp02184bc6af07a887caf76322898d58cc1d~wyLvJDPxr2361223612euoutp02Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1653041772; bh=FtiPxxeAqMIydXwHrRmAPLbmQRTffpcOCZWfzxgX4dc=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=lbsQvIKjmr7DQm90bC35XjusJN3VDdtxYqakSNKuWhxjpVZM3XI8N8B5gb36z8DIB 6w+vF34ajTMKNRA2/wDSKjxb1YUOSlpaTjlsviiSRmfCATSwUXtjhTUVZxqj1gsZOP 4+IeCbocrVHw7VRQL61WYU1TZtaKhRO0ogqy8tZ4= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20220520101611eucas1p13dd922345f7e91a0211cced9694b3ca9~wyLuh2GuU0792907929eucas1p1Q; Fri, 20 May 2022 10:16:11 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 07.A9.10009.B6A67826; Fri, 20 May 2022 11:16:11 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20220520101610eucas1p1822ca6014e2a1d55ae74476f83c4de1d~wyLuEwPad0813608136eucas1p1M; Fri, 20 May 2022 10:16:10 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220520101610eusmtrp1b047ec44358d3e2d4b2d8fd18217aacf~wyLuDudnP3260932609eusmtrp1e; Fri, 20 May 2022 10:16:10 +0000 (GMT) X-AuditID: cbfec7f2-e95ff70000002719-0a-62876a6b4f0d Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 76.A7.09522.A6A67826; Fri, 20 May 2022 11:16:10 +0100 (BST) Received: from CAMSVWEXC01.scsc.local (unknown [106.1.227.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20220520101610eusmtip1c7c8b787f20b055e8d604b8a9c64259c~wyLt1hgig2764527645eusmtip1t; Fri, 20 May 2022 10:16:10 +0000 (GMT) Received: from localhost (106.210.248.142) by CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 20 May 2022 11:16:09 +0100 Date: Fri, 20 May 2022 12:16:08 +0200 From: Javier =?utf-8?B?R29uesOhbGV6?= To: Johannes Thumshirn CC: Hannes Reinecke , Damien Le Moal , Luis Chamberlain , Theodore Ts'o , Christoph Hellwig , Pankaj Raghav , "axboe@kernel.dk" , "pankydev8@gmail.com" , "gost.dev@samsung.com" , "jiangbo.365@bytedance.com" , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "dm-devel@redhat.com" , "dsterba@suse.com" , "linux-btrfs@vger.kernel.org" , Jaegeuk Kim Subject: Re: [dm-devel] [PATCH v4 00/13] support non power of 2 zoned devices Message-ID: <20220520101608.m6lngep5bvp22k6p@ArmHalley.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Originating-IP: [106.210.248.142] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAKsWRmVeSWpSXmKPExsWy7djPc7rZWe1JBi+milmsvtvPZvH77Hlm i73vZrNaXPjRyGSxZ9EkJouVq48yWTxZP4vZoufABxaLv133mCz23tK2uPR4BbvFnr0nWSwu 75rDZjF/2VN2ixsTnjJarLn5lMWitecnu4Ogx78Ta9g8ds66y+5x+Wypx6ZVnWwem5fUe+y+ 2cDm0XTmKLPHztb7rB7v911l81i/5SqLx+bT1R6fN8l5tB/oZgrgjeKySUnNySxLLdK3S+DK uHnwD1vBep6KJbM+MzcwNnN1MXJySAiYSHRN+cXYxcjFISSwglHi2cKVLBDOF0aJX/OXQjmf GSXWTNjKAtPSeWMJM0RiOaPEwrfTWEESYFVPHptCJLYySkx985qti5GDg0VAVeLpI22QGjYB e4lLy24xg4RFBIwlfq6zBilnFnjOJrH01w92kBphAX+JibvusIHYvAK2Esd2NjBD2IISJ2c+ ATuCWcBKovNDEyvIHGYBaYnl/zggwvISzVtng5VzCsRKtD5ZAFYiIaAssXy6L8T5tRJrj51h B1krIfCJU6L1SCMTRMJFor/3CCOELSzx6vgWdghbRuL05B6o37MlLp7pZoawSyQWvz/GDDHf WqLvTA5E2FFi16T/jBBhPokbbwUhLuOTmLRtOlQ1r0RHm9AERpVZSN6aheStWQhvzULy1gJG llWM4qmlxbnpqcWGeanlesWJucWleel6yfm5mxiBifL0v+OfdjDOffVR7xAjEwfjIUYJDmYl EV7G3JYkId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rzJmRsShQTSE0tSs1NTC1KLYLJMHJxSDUyG nEIXztz3vhu9S/FVmABz2MlOXaaDKbsD2bYtdfEyLQz+7Pr8jYyjzfrSV4J3EtXtd55n9NDU vfO8svHUHd7DJTesQ3LTL05oPO3rNEdm2pwY5wrVfz+ezSwsqJoVtPvSQ+Eb8sI36367rpv8 OUszwsj6d2Dit5po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yHqhETZLJSC8yqVDfv77e8 qPJPRajC484M9dSph6Q60lb5T7zUfrWySDxlocBNE4UP4ntUFe98XbZVTeUxU2W1Bae2h4tL 4FmZS1e+sP5OMuotX35x8vb4h5sufNTOy3RZffpzxfK4pIcfqm4+eJvPt2HvRP4bNXETg48a uF05tK5SwKyCs5/z/aV5M/T3cm9S6xWQYq/Yta3rYnLK1gMbDPZP97/p+VDL6qmbQZxl9twD cTymGg6xEdLZ7mEKRYa5McqX1rC8vPXhGvMV2eWnG1M0jEtOqE/vOCYn3LJYwWi/RLoAc+jL W8mabN/MGBcbbPPfp8RSnJFoqMVcVJwIAH96gSuvAwAA X-CMS-MailID: 20220520101610eucas1p1822ca6014e2a1d55ae74476f83c4de1d X-Msg-Generator: CA X-RootMTR: 20220520101610eucas1p1822ca6014e2a1d55ae74476f83c4de1d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20220520101610eucas1p1822ca6014e2a1d55ae74476f83c4de1d References: <20220517081048.GA13947@lst.de> <7f9cb19b-621b-75ea-7273-2d2769237851@opensource.wdc.com> <20220519031237.sw45lvzrydrm7fpb@garbanzo> <69f06f90-d31b-620b-9009-188d1d641562@opensource.wdc.com> <4a8f0e1b-0acb-1ed4-8d7a-c9ba93fcfd02@opensource.wdc.com> <16f3f9ee-7db7-2173-840c-534f67bcaf04@suse.de> <20220520062720.wxdcp5lkscesppch@mpHalley-2.localdomain> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.05.2022 09:30, Johannes Thumshirn wrote: >On 20/05/2022 08:27, Javier González wrote: >> So you are suggesting adding support for !PO2 in the block layer and >> then a dm to present the device as a PO2 to the FS? This at least >> addresses the hole issue for raw zoned block devices, so it can be a >> first step. >> >> This said, it seems to me that the changes to the FS are not being a >> real issue. In fact, we are exposing some bugs while we generalize the >> zone size support. >> >> Could you point out what the challenges in btrfs are in the current >> patches, that it makes sense to add an extra dm layer? > >I personally don't like the padding we need to do for the super block. > >As I've pointed out to Pankaj already, I don't think it is 100% powerfail >safe as of now. It could probably be made, but that would also involve >changing non-zoned btrfs code which we try to avoid as much as we can. > >As Damien already said, we still have issues with the general zoned >support in btrfs, just have a look at the list of open issues [1] we >have. > Sounds good Johannes. I understand that the priority is to make btrfs stable now, before introducing more variables. Let's stick to this and then we can bring it back as the list of open issues becomes more manageable. >[1] https://protect2.fireeye.com/v1/url?k=f14a1d6f-90c10859-f14b9620-74fe485fffe0-3f1861e7739d8cc7&q=1&e=213fcc28-3f9d-41a1-b653-0dc0e203c718&u=https%3A%2F%2Fgithub.com%2Fnaota%2Flinux%2Fissues%2F Thanks for sharing this too. It is a good way to where to help