Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp165183rwb; Fri, 30 Sep 2022 19:52:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM42//S/UJHjACyLzsc/O0XpXl6An5MZ6BwapJ98RJOTDnXrgnolPoSPlLd3ImvPqZyuQ+mk X-Received: by 2002:a17:902:7887:b0:178:5e8a:e84e with SMTP id q7-20020a170902788700b001785e8ae84emr12012978pll.64.1664592779173; Fri, 30 Sep 2022 19:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664592779; cv=none; d=google.com; s=arc-20160816; b=S/Q3I4N+S3xTCudHhZYyPIOy2fnh6sCOQsGGxoh8MMvAHQBZzzO/z+iDdNFUmNozcs +XjEjV3fr0AxxZ+4ehQhsvCGRFdQ0YQhSbz/K214Zi90m6kUMBcS9SdpVDggN8ABnDMg rQ3xP+Baan3OJKDhpysWrANJtt8YvnClRPclIt8zMO5/HUWEq0HT786cZeBQJ5Lo3m9j wVNCA0UHyZc41JZqynG5iwiOQjBfwfyLT5qtKrBQDxvrIvusmiCiec8rRXAB0D7OkY50 6qKeo+YP904iff4F30TjWgIsTByMHrQVzLnvcTm+NDdZh1Xqi8vBMtMljQpVnfFG73fn u7Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=39nUKBxMEtQ4k/548GHzcQvvgKYGFvJDlLo/dLbAsKs=; b=tMxPfTV9ySLta7adLoEZy1Tnv4R63lGFVqAXokFCZeohcw0HaeMXi/W0c6uHqygOUn ZwHbj7ywRUQbyc5A3HqPEzWMtVaX0Yr7p1783fwPdlVWQLzZ6gb1Zo3I/9t+abf+KhgB OU0af6Ib6HtX3m8tHaDlepf/PJ3rd8XDUCcm84kZcouMdPkrOeiN74SYZA/+D7V/6rEV HcwK92pGr4w9THJpiOwZ6Wk0bP8kFOaRhICm9JL4O3a7xFLZhHBkIJaXuRzz/7dIvlwF 3/b3yD2dIA6LPj4rhcmLboO4HOlFfB/Zp+ny9NwkZSSaAwe9OJw05Y0XBVeFTRAmAJBi MvBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a056a00174f00b0052c82f9f61csi4439861pfc.239.2022.09.30.19.52.26; Fri, 30 Sep 2022 19:52:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232145AbiJACO2 (ORCPT + 99 others); Fri, 30 Sep 2022 22:14:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231516AbiJACO0 (ORCPT ); Fri, 30 Sep 2022 22:14:26 -0400 Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FD521AF919; Fri, 30 Sep 2022 19:14:25 -0700 (PDT) Received: by mail-pf1-f174.google.com with SMTP id w2so5726613pfb.0; Fri, 30 Sep 2022 19:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=39nUKBxMEtQ4k/548GHzcQvvgKYGFvJDlLo/dLbAsKs=; b=KiIOaV2jNyWSXEnAp14gftW4nVj10JyEXuPtUbQaD3OFG3eFoPFiFsqD1wLXYlwzDE obmzxzwHHPlcGcCSs29WCcm0FOjy3z5PVgmFRWxY8B6c0WCBaMssBHeQgf8b/ntAbJXR Oabw6iewh1FQR3GEiwuWPmAAmD6x7GrZ214r74XzLo0Ii93rPjLquziL66Gz2bO2SrSG BVgyyYMCwBCWmfASUQXX80zabn9Ccy1uaHI+lLdlst8Lb2bDxEBO7XkO9rwQFZKCvgFG /9oRoPFODRqlhtgx++j6edPBuHeI1JUYELCj9zZlHW9hLbr/y1oTMY0/aIP4uf/AG1W5 gl/A== X-Gm-Message-State: ACrzQf02q0VgbraXm5U69/2bmcE3Lm6Fh0GPuOk3j3Mpo9dkeGhGt5s4 VrT7i/KNaAPulRm3AmAdTqs= X-Received: by 2002:a65:42c8:0:b0:41a:8138:f47f with SMTP id l8-20020a6542c8000000b0041a8138f47fmr10062728pgp.476.1664590464635; Fri, 30 Sep 2022 19:14:24 -0700 (PDT) Received: from [192.168.3.219] ([98.51.102.78]) by smtp.gmail.com with ESMTPSA id o3-20020a17090ac08300b0020a73eec389sm69517pjs.3.2022.09.30.19.14.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Sep 2022 19:14:23 -0700 (PDT) Message-ID: Date: Fri, 30 Sep 2022 19:14:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v15 00/13] support zoned block devices with non-power-of-2 zone sizes Content-Language: en-US To: Damien Le Moal , Jens Axboe , Pankaj Raghav , hch@lst.de, Keith Busch Cc: jaegeuk@kernel.org, agk@redhat.com, gost.dev@samsung.com, snitzer@kernel.org, linux-kernel@vger.kernel.org, hare@suse.de, matias.bjorling@wdc.com, Johannes.Thumshirn@wdc.com, linux-block@vger.kernel.org, linux-nvme@lists.infradead.org, pankydev8@gmail.com, dm-devel@redhat.com, "Martin K. Petersen" References: <20220923173618.6899-1-p.raghav@samsung.com> <5e9d678f-ffea-e015-53d8-7e80f3deda1e@samsung.com> <0e5088a5-5408-c5bd-bf97-00803cb5faed@acm.org> From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 9/30/22 17:45, Damien Le Moal wrote: > On 10/1/22 04:38, Bart Van Assche wrote: >> Since this has not been mentioned in the cover letter, I want to add >> that in the near future we will need these patches for Android devices. >> JEDEC is working on supporting zoned storage for UFS devices, the >> storage devices used in all modern Android phones. Although it would be >> possible to make the offset between zone starts a power of two by >> inserting gap zones between data zones, UFS vendors asked not to do this >> and hence need support for zone sizes that are not a power of two. An >> advantage of not having to deal with gap zones is better filesystem >> performance since filesystem extents cannot span gap zones. Having to >> split filesystem extents because of gap zones reduces filesystem >> performance. > > As mentioned many times, my opinion is that a good implementation should > *not* have any extent span zone boundaries. So personally, I do not > consider such argument as a valid justification for the non-power-of-2 > zone size support. Hi Damien, Although the filesystem extent issue probably can be solved in software, the argument that UFS vendors strongly prefer not to have gap zones and hence need support for zone sizes that are not a power of two remains. Thanks, Bart.