Received: by 2002:ac2:464d:0:0:0:0:0 with SMTP id s13csp2061788lfo; Fri, 20 May 2022 11:57:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx7szjUvnMwpD+C3azN3cGJ1EID7txh1GgL3cvjRaSEptPOw+LKTUiiCvyU3Xc8/onCDaS/ X-Received: by 2002:a17:906:c142:b0:6f5:2632:adb7 with SMTP id dp2-20020a170906c14200b006f52632adb7mr10054739ejc.637.1653073030199; Fri, 20 May 2022 11:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653073030; cv=none; d=google.com; s=arc-20160816; b=teMLrqeGLezTFMHF5aN33hihFXgRxC3BkEN+d3q1mibAtU9qtXp4Kt+7GCRydxToxz 74m8pAK5C9VDRf9gXRAGF5jbAr5KXlWZ0osGAxQEA05hCfApGCCNyw+s/gvNqHWPpE2w 5rL9Tlhe0F6B8xzRP7JQfEhAXZtdSsNv2khw1HgboYrGdefXp/b5dW2r9T5TtveV5v7K 56JKrdD8h1KEf4X0Ak12CATiNL21b9Eu7j9uIL1tykurH0CTB/1VnBSNjEnutD/tV47O rqm2Y2JwWa5En7nUVNVRMkpii4D1wu3iqi+Gi7VzlaJbsas21s7ZT1ATBcWuqzNPe7y+ jiwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=U1vEEBx5l6lck/ZVYtVMS6/WSLGFTxzXzQhGy8n6n1Y=; b=YMM3TR4F7YmUIhh2IbzGuFFhtCd5z5e4lEg3YqhcxjPWoxgak9nFtcITWZ8xzesX4g un9X3xAFf36Owobr/Z0TNkiAn+quwZRuNTRBEwnuxQKgy6Xwn/j8385oGvtD/yWZwceu 1eey6P0QH/71EfpEyNb8FS4dMLA/LIvJtR7oFK3PpxXgoxsRrf4FTiUeuVRcVG/y70pA H3YFDyVqfTrbvEYDqhpFx6U1MbpBCmQoDpL2OKwPDLd30hruZz+rpiWFPd/BeFSbCe43 LoQs5wz3SWGDXAdrrbTYIGx7rgJAOXlP9HzdtSj2wYgDTyFAGaHyU8fq4zBXbS++lIhI TkyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=1K0EXYYg; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=fdfW8UYv; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a056402269400b0042b09ccab74si5675312edd.519.2022.05.20.11.56.44; Fri, 20 May 2022 11:57:10 -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; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=1K0EXYYg; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=fdfW8UYv; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352144AbiETRWy (ORCPT + 99 others); Fri, 20 May 2022 13:22:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345306AbiETRWx (ORCPT ); Fri, 20 May 2022 13:22:53 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A70B16D4A9; Fri, 20 May 2022 10:22:52 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 050A01F899; Fri, 20 May 2022 17:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1653067371; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U1vEEBx5l6lck/ZVYtVMS6/WSLGFTxzXzQhGy8n6n1Y=; b=1K0EXYYgwzsP5pttWIVJPO7peR7LU+5/FGwrIehUJrgtYp1b2Z1gmnbsrlrvfd9lUvK2VA zu24tnaYU76hI6QXg7nbkOeg0BgdflDuWpJoTzQjH360AGI4TCOxit8DE29sKLWYXVeAlH Jl7ARw2GtOYQYSYYjCB3PhyECWDOHus= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1653067371; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=U1vEEBx5l6lck/ZVYtVMS6/WSLGFTxzXzQhGy8n6n1Y=; b=fdfW8UYvFzHZKAsM32Bd+yUPieD8tKqZpNTkU0+Ww4cQ9TxtNrH3v7+6LIxP4Bdiz6Gq/f 1Yvz9mmtz7ulOzDg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 83B7A13AF4; Fri, 20 May 2022 17:22:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 53QXH2rOh2KIPwAAMHmgww (envelope-from ); Fri, 20 May 2022 17:22:50 +0000 Date: Fri, 20 May 2022 19:18:30 +0200 From: David Sterba To: Pankaj Raghav Cc: Damien Le Moal , Javier =?iso-8859-1?Q?Gonz=E1lez?= , Hannes Reinecke , Johannes Thumshirn , Mike Snitzer , Christoph Hellwig , Luis Chamberlain , Theodore Ts'o , "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 , Keith Busch , Adam Manzanares Subject: Re: [dm-devel] [PATCH v4 00/13] support non power of 2 zoned devices Message-ID: <20220520171830.GR18596@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Pankaj Raghav , Damien Le Moal , Javier =?iso-8859-1?Q?Gonz=E1lez?= , Hannes Reinecke , Johannes Thumshirn , Mike Snitzer , Christoph Hellwig , Luis Chamberlain , Theodore Ts'o , "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 , Keith Busch , Adam Manzanares References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, May 20, 2022 at 11:30:09AM +0200, Pankaj Raghav wrote: > On 5/20/22 08:41, Damien Le Moal wrote: > >> Note that for F2FS there is no blocker. Jaegeuk picked the initial > >> patches, and he agreed to add native support. > > > > And until that is done, f2fs will not work with these new !po2 devices... > > Having the new dm will avoid that support fragmentation which I personally > > really dislike. With the new dm, we can keep support for *all* zoned block > > devices, albeit needing a different setup depending on the device. That is > > not nice at all but at least there is a way to make things work continuously. > > I see that many people in the community feel it is better to target the > dm layer for the initial support of npo2 devices. I can give it a shot > and maintain a native out-of-tree support for FSs for npo2 devices and > merge it upstream as we see fit later. Some of the changes from your patchset are cleanups or abstracting the alignment and zone calculations, so this can be merged to minimize the out of tree code.