Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp123338pxk; Mon, 5 Oct 2020 20:19:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJypf9MPtFX8mZoVmH2QKYBCbHYyisiz2eX2N5kyVAs0/x51HEAQ3sqGaE9rZIyXhT/8v6mo X-Received: by 2002:a05:6402:207c:: with SMTP id bd28mr2347534edb.316.1601954367192; Mon, 05 Oct 2020 20:19:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601954367; cv=none; d=google.com; s=arc-20160816; b=cuzv8o+SCEbko54rHJgrFbv6p91tvvPe89Dh3zyT4a1F7NgBctO5R4LFhx63o0ojUP qoHZWUFhGFzz33nVqxkeX10LCm30/AK4lV1meQiBtm/tv9k/KXcIzriTPD4CzCMbQvpm eg3xgCpdMIYnGEXjNNp85UfjGdnDrVi1zlL/EeKgExjBrLLK0UOPSjxSwSqbW0amvFTa TSHGs6lxrhPSf8bFJWrO/uxIGbN2LhXdcb31fmUxEep78ilzXS+qFrJqRNy/LnVHryDo 0Bx0tvSirGy9MJ+iFRDNLHftRpoALfLGXrkQ1+KhlpMz1h5wVAKd3tFnpuD0CzBWI4+y UEIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ZtBLSR11nz+BKBmhreL98lCvyMC1DOIyW2/Lp3ZxE+Q=; b=EjBNRcewzbPzcj4hGC0CfTDiGOD2vMtysxdrD1cR+aRzlbKl1MBCgwFJily/MjzNdb C6+5IgJIvH6hPK5dIHP57IG3pY/v6M8xtK5xrDkYBz6ZPyt7fxHQE21aeBDBSZZhJk6p dge36zX2Mw/AFBi31SJb96cHf2Rtd8TOVSUz85Cemr+eY5alndcLRDb42+1wdgUwHXVj 01uLN6pw9PSSffTjjWk2md6QxKUmBZEMUaiUJQKVxU4RDFkIP0jCt3zwnOX39CflQQSN hy9+Z3S+unn+5K50AO/07FHVNRupCVHTku3N36mFPeyxMvWeUkHpzIHL8QctjxlbcEQW YkWA== ARC-Authentication-Results: i=1; mx.google.com; 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 a18si1479093edn.400.2020.10.05.20.18.52; Mon, 05 Oct 2020 20:19:27 -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; 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 S1725977AbgJFDSv (ORCPT + 99 others); Mon, 5 Oct 2020 23:18:51 -0400 Received: from outgoing-auth-1.mit.edu ([18.9.28.11]:47075 "EHLO outgoing.mit.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725917AbgJFDSv (ORCPT ); Mon, 5 Oct 2020 23:18:51 -0400 Received: from callcc.thunk.org (pool-72-74-133-215.bstnma.fios.verizon.net [72.74.133.215]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 0963IYat000571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 5 Oct 2020 23:18:35 -0400 Received: by callcc.thunk.org (Postfix, from userid 15806) id 2C0AA420107; Mon, 5 Oct 2020 23:18:34 -0400 (EDT) Date: Mon, 5 Oct 2020 23:18:34 -0400 From: "Theodore Y. Ts'o" To: "Darrick J. Wong" Cc: Josh Triplett , Linus Torvalds , Andreas Dilger , Jan Kara , Linux Kernel Mailing List , linux-ext4@vger.kernel.org Subject: Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps Message-ID: <20201006031834.GA5797@mit.edu> References: <20201005081454.GA493107@localhost> <20201005173639.GA2311765@magnolia> <20201006003216.GB6553@localhost> <20201006025110.GJ49559@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201006025110.GJ49559@magnolia> Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Oct 05, 2020 at 07:51:10PM -0700, Darrick J. Wong wrote: > > > Could /somebody/ please document the ondisk format changes that are > > > associated with this feature? > > > > I pretty much had to sort it out by looking at a combination of > > e2fsprogs and the kernel, and a lot of experimentation, until I ended up > > with something that the kernel was completely happy with without a > > single complaint. > > > > I'd be happy to write up a summary of the format. > > Seems like a good idea, particularly since you're asking for a format > change that requires kernel support and the ondisk format documentation > lives under Documentation/. That said... > > If you set up the rest of the metadata consistently with it (for > > instance, 0 free blocks and 0 free inodes), you'll only get a single > > complaint, from the e2fsck equivalent of block_validity. See > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956509 for details on > > that; > > ...Ted shot down this whole thing six months ago. > > The Debian bug database is /not/ the designated forum to discuss changes > to the ondisk format; linux-ext4 is. What Josh is proposing I'm pretty sure would also break "e2fsck -E unshare_blocks", so that's another reason not to accept this as a valid format change. As far as I'm concerned, contrib/e2fsdroid is the canonical definition of how to create valid file systems with shared_blocks. - Ted