Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2468069ybg; Thu, 30 Jul 2020 23:47:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwNWbodssfI4Znu78Jvabul+D+13SnBRWDiJHBb4A3B/yqngJ/CzHMu67hXcxzS4iHausmu X-Received: by 2002:aa7:db4f:: with SMTP id n15mr2394555edt.193.1596178049638; Thu, 30 Jul 2020 23:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596178049; cv=none; d=google.com; s=arc-20160816; b=VN4SOt6RDy8VjcpAt/5CdE97umhrtPbxwyiMTVYZUaliK9aJZO/u2B7NTLemZAbxaE LNxUtZXrw3LDMc1dVklhsp61D8CwIUw/jWP4Ig+EVo9R15T3WCYZv+wtldwXrRwQkUvn p1YB6xqe84LC3nOf2HTTMy/APZ9XeAnUmvQB+NudqFhv0zRZnMxEB6ZZ9+ZVs0MT0do0 tQoU2cGsSZxcrO6cZlfJcGEouRYknAaIeouGCLVY1cgKdkxbQQJTqIY8rYuLDB+gQg84 UJU3Qh6KPa2e/KW+DBemyfp9h1H3XeXThCEIiRRyMtwwY+pHB/p+RojJgk1ZOl0TGgzQ 7otw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=hJZzQxamo8cM63RzvDBAwdcLMgZgDTBqDhShXNpmlY4=; b=VuF/WPqFsbUQiZZwiX8B6ciuw7x3fvVoKWg4CTgMxWSIJ9CIAaVIQ2DK4GLKXHf7eO chV1ANqRvauGkLskIAJqtmZFHirRBRSGIOXobNL9zHxbmSoCM6NYR0iiqZaIdgZLfoTN /h96yuVuIqJZa1e7ErcBoU5lss35t3yMZac5hoZtoDIzWjU7hfkOCUThE2a91KSQVRUR /gW1/Hq03Z/i645Gpb/mbajhcRTNK/WQKrbtbLLv65U3ye4mxc6QKKdmA8XlDJYr57q4 D6xGYt7evXngofMVD3zUBbB0ttnVc+iaGjZElULmTs1U1dC1A2O40XM+x2vv33NOc667 e4xA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=f311v+Zf; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y23si4400740ejd.544.2020.07.30.23.46.59; Thu, 30 Jul 2020 23:47:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=f311v+Zf; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731367AbgGaGql (ORCPT + 99 others); Fri, 31 Jul 2020 02:46:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731359AbgGaGql (ORCPT ); Fri, 31 Jul 2020 02:46:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21DD4C061574; Thu, 30 Jul 2020 23:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hJZzQxamo8cM63RzvDBAwdcLMgZgDTBqDhShXNpmlY4=; b=f311v+ZfsEzF5qd14z+PRFQ+q9 /SjeH+xS92JesR3F+yZRkiahlMaYviu8XqaH0vCLQfE/vdmoV1DO0EnZhcQdd9YQR9YzyQPj5fArY LHKpMdLbCnm2DtXPQ81Ds//+//M64qbOLwlsa/tSTeiEBDedxfe92QdOpesQlWhILMlnlH6hRMxXa jODPLBqHhow047F2fHsAO9RYJmUCdSHBREGdJ9ObUISNAf5SeXBhZ4iSAdKH1Je4ivTFxXDpqDoAG bug3rz/k0V5Af1HidugpTEZu03Resdf/a2vNmstfbjrja3a/TJlG+SyL8pumRRYPTIoYochaSJajv hl1QX22A==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1k1OoR-0006ya-61; Fri, 31 Jul 2020 06:46:39 +0000 Date: Fri, 31 Jul 2020 07:46:39 +0100 From: Christoph Hellwig To: Dave Chinner Cc: Takuya Yoshikawa , linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org Subject: Re: ext4/xfs: about switching underlying 512B sector devices to 4K ones Message-ID: <20200731064639.GB25674@infradead.org> References: <20200729231605.GB2005@dread.disaster.area> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200729231605.GB2005@dread.disaster.area> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Thu, Jul 30, 2020 at 09:16:05AM +1000, Dave Chinner wrote: > if you start with 4k devices, mkfs.xfs will detect 4k > physical/logical devices and set it's sector size to 4k > automatically and hence will work on those devices, but you can't > change this retrospectively.... Alternatively you can force a larger sectors size manually at mkfs time.