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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58B5DC433F5 for ; Mon, 7 Mar 2022 20:42:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233160AbiCGUnY (ORCPT ); Mon, 7 Mar 2022 15:43:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232939AbiCGUnX (ORCPT ); Mon, 7 Mar 2022 15:43:23 -0500 Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C01F646F for ; Mon, 7 Mar 2022 12:42:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1646685746; x=1678221746; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=a9KkmnYg+qtCP9c5Y2vbS7iLEvKGk6xBE2kfTjwUYRM=; b=d3cTFiAaOgKu+fFZwEB1afI8egQpCqYSZRJnQRzyRo6h8ihhXvJtzifb 7Xq3EHGEuyzNXjmn/rIvgEN0ToVxFFKIGFrheAJwEwd3+GloqZ8wjlsm8 x4fMaV4aU4N8KFMWzu7fHPN0uJMBZ0vLYxqSmlLEU2h/c/BbeR1+VMGEf Fhk5gNmrqlIjfqSWng0f6a37ThqL9nei/xhRXworUwcqQizV+vzmKBm/R +h4rOoLvYNUwlvSPuB8FRIMbi30w8VGfLq/i3IKigHM0yA3BnZkmgkW8O J2OgMKGDnoJVdsxMxt1QVyP2EEOFgmN6MNO/eWEFCUMNbxpKRv44Y2+GT g==; X-IronPort-AV: E=Sophos;i="5.90,163,1643644800"; d="scan'208";a="194697557" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 08 Mar 2022 04:42:25 +0800 IronPort-SDR: 8F5HEY7fsyud9iZgXyD5wDYoZLAiJLoEV9ZxZ7kHL16mSbiCb/ue42UVhJTMlqoColhvE+mi7V XIaOEwdnuDJSFnTGbIiTI61JxtuWryDS1t5LyltJ3u4U3duYhyoHUVKAziGszjGm3pbBCItqKq CAfGhMor0SL9yGhga0dXRTDCrfmOX/ZtrS9aHDHFBKot/AAghm2CE1iQleRvva85KWeduUTrx7 cnl1ABRsJgLlwarvtmWwU/0ML3bTfjGsK+gEaNYPxMpE4JR16+YGTLPI3oyOBBV3RikuwEJRwc Ya1/21UA959bwLYuEDI/J/7C Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2022 12:14:45 -0800 IronPort-SDR: BjTDGUm7ar8DkTjbyr4yFSj3NymokRC67+byQihRBJsk4aa4lu3q6RmTEs+HyX+qK3K5Opi6nS PZnpiI8kRzxb4G23LKeVKPybpU37/XaMjvYK2KzS/XhiHeugVA96Q+bBvVb7EBomK4aRNF2kbY 8VPrwO8Es7tJp+JU2IoB5UAS5bo/TEM/3wcPptPyKg2eYdY/TGy7tteuwa/TS79qlqtxzjoYIA +CewJmAwYWt9U/gciD8a1uopaMiyDPcwWTTQB3V9rv/7BHnGRnutbcik53onekFmfNcAJ4cI2i bK4= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Mar 2022 12:42:28 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4KC9PZ6BSsz1Rwrw for ; Mon, 7 Mar 2022 12:42:26 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1646685746; x=1649277747; bh=a9KkmnYg+qtCP9c5Y2vbS7iLEvKGk6xBE2k fTjwUYRM=; b=Mai0Co33QzM/xljOXYV0/746SueNTGZsSb7yDtKzkljbWJBxeVX JNB6gaiCxBy/Khjgd2tUn+ngnlNPG8PSudKExf8dGEjvGNTtnmlAdX1ZhRQ7n/iJ 2hSg57TpuEMb91xZ18ljWQa3oLWVMXQFekpGiSrdU6Y+iLO0YGKFXIdLEBW8s9GW 5vQVzTd+m+Fh+ig4QyO6HD1IP6P/s+Pl6EGj3i6lw9lGPsd+8WiIn6tVfK+yQLmr MiVqUg8LAfRoS6r8t9d5x2del87sVepJcMGthpRUWuKZvxzvibUBU/qPI68shoX4 xVAac5rR7olM8TIF6Hkh8jaBqH8or0qIxUw== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sE1mdxDWedSG for ; Mon, 7 Mar 2022 12:42:26 -0800 (PST) Received: from [10.225.163.91] (unknown [10.225.163.91]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4KC9PW0f18z1Rvlx; Mon, 7 Mar 2022 12:42:22 -0800 (PST) Message-ID: <8f8255c3-5fa8-310b-9925-1e4e8b105547@opensource.wdc.com> Date: Tue, 8 Mar 2022 05:42:21 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [LSF/MM/BPF BoF] BoF for Zoned Storage Content-Language: en-US To: Keith Busch , =?UTF-8?Q?Javier_Gonz=c3=a1lez?= Cc: James Bottomley , Luis Chamberlain , Dave Chinner , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, lsf-pc@lists.linux-foundation.org, =?UTF-8?Q?Matias_Bj=c3=b8rling?= , Damien Le Moal , Bart Van Assche , Adam Manzanares , Keith Busch , Johannes Thumshirn , Naohiro Aota , Pankaj Raghav , Kanchan Joshi , Nitesh Shetty References: <69932637edee8e6d31bafa5fd39e19a9790dd4ab.camel@HansenPartnership.com> <20220307151556.GB3260574@dhcp-10-100-145-180.wdc.com> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20220307151556.GB3260574@dhcp-10-100-145-180.wdc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 3/8/22 00:15, Keith Busch wrote: > On Mon, Mar 07, 2022 at 03:35:12PM +0100, Javier Gonz=C3=A1lez wrote: >> As I mentioned in the last reply to to Dave, the main concern for me >> at the moment is supporting arbitrary zone sizes in the kernel. If we >> can agree on a path towards that, we can definitely commit to focus on >> ZoneFS and implement support for it on the different places we >> maintain in user-space.=20 >=20 > FWIW, the block layer doesn't require pow2 chunk_sectors anymore, so it > looks like that requirement for zone sizes can be relaxed, too. As long as: 1) Userspace does not break (really not sure about that one...) 2) No performance regression: the overhead of using multiplications & divisions for sector to zone conversions must be acceptable for ZNS (it will not matter for SMR HDDs) All in kernel users of zoned devices will need some patching (zonefs, btrfs, f2fs). Some will not work anymore (e.g. f2fs) and others will need different constraints (btrfs needs 64K aligned zones). Not all zoned devices will be usable anymore, and I am not sure if this degradation in the support provided is acceptable. --=20 Damien Le Moal Western Digital Research