Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8035487rwb; Tue, 6 Dec 2022 13:07:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ffugMmcPbATfgwNR6+deZIy7Al8I0qYwl/yog6DmWSnBoXi9HIdJLIFqOuKxz/Prk/XQx X-Received: by 2002:aa7:da01:0:b0:46b:9f6e:4005 with SMTP id r1-20020aa7da01000000b0046b9f6e4005mr27725037eds.203.1670360855354; Tue, 06 Dec 2022 13:07:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670360855; cv=none; d=google.com; s=arc-20160816; b=hx5POxTLWYXiRXHJksjOL39VPHO5ipCw6THJh1xqtY42J34jsLff0lRWZUgw8gIo0r xIKOxIYPgUpjskbVsZOAHK+LvAKudDP09+z17rKY/fnsltVZO/FQ0fJ/hkDBgMKJz8fF Aim6Gq2mg7To0+7v/sU8vsotr0nBH67ggaBUOUCeQNZWa2T/NCg0BGsXQbnnus/wxa3h EAzDt8b8GZfiaPOj2TkjoQVzNwZ9G+vcMmROBwYtrko0ow2111b+TSKLLtMLjrbhRX3C gqKDyJFXwFRk2bn/V3zw4+hmeF393aqsME5lCR7k9aiG8wcUGTryWD15RiPbSkuG8Pb+ NTjA== 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:dkim-signature; bh=fMwVX4UxKI+NUwzpQSTT4neoisRqyhXXltho6hFAv6s=; b=DGBue91q1Du2aEjgQSt+kJBp/erzCbD5PVY0q6mfYssMoMCzu58gCO2mpW8bsdRgJO Y61/DdJHeG9ch2kaRAD5EGjQGfeC2g24Y1OsakP1E7gChFa1W30451l47jQTlKmQBafO LGVLcdr5ASLSxpXelfY7yhpQD7ht78FU2Gk3ZP4Htef3OCCfz7R41qUWqlcU714GY/pe 8X8L9tsVf4Sgfswyc7haihegUUCRW7hsn0O86zagbpenZQD5JJ2Rmdsc3mxuCMBahLJn v5UU0SlATe546BdxAo3vQmrazrN63Vxay9/Uru5hYJppkX/qOeiQo0QDQ+yoVTYM2X9g 5Pug== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=C3R9Naw1; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a056402090d00b0045d050f0fa3si3069112edz.565.2022.12.06.13.07.10; Tue, 06 Dec 2022 13:07:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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=fail header.i=@mit.edu header.s=outgoing header.b=C3R9Naw1; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbiLFVE5 (ORCPT + 99 others); Tue, 6 Dec 2022 16:04:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229840AbiLFVEw (ORCPT ); Tue, 6 Dec 2022 16:04:52 -0500 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B059747316; Tue, 6 Dec 2022 13:04:50 -0800 (PST) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 2B6L4hb3003623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 6 Dec 2022 16:04:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1670360684; bh=fMwVX4UxKI+NUwzpQSTT4neoisRqyhXXltho6hFAv6s=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=C3R9Naw1FOBHaZbZ/jPo0zymWFHZpNtg1gNlYf1+8WMXW1z1I9VUM5bYzvKGJ74w3 e/95Lxv0KRF9x+P3vAdIKe6wqV9Hfc5WkHH2AWRR5c3kxFlBZQPLmLviD0wzE3n+6k z4rFbs4hTwFKUrp1IJJgMqmId9BdCny0M1EuWKsgf71medCamOB40yLDQfHBO9ZNbE 6SBwIh3EeBXkDT2V1XwJNtCxC29u+pLyDE83GFvE26s99GnO6+EVWHEIgKPtQiNzmm q7dYRAB39d+zUAaQgDxYfbWpLqBOe+ZF7tu0B+GXjMHL6UKb7XukZ2U9e6zKI8wijO Aq654mE9DhOzA== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 2798C15C3489; Tue, 6 Dec 2022 16:04:43 -0500 (EST) Date: Tue, 6 Dec 2022 16:04:43 -0500 From: "Theodore Ts'o" To: Eric Biggers Cc: linux-ext4@vger.kernel.org, linux-fscrypt@vger.kernel.org, Harshad Shirwadkar Subject: Re: [PATCH 0/7] ext4 fast-commit fixes Message-ID: References: <20221106224841.279231-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221106224841.279231-1-ebiggers@kernel.org> X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org On Sun, Nov 06, 2022 at 02:48:34PM -0800, Eric Biggers wrote: > From: Eric Biggers > This series fixes several bugs in the fast-commit feature. > > Patch 6 may be the most controversial patch of this series, since it > would make old kernels unable to replay fast-commit journals created by > new kernels. I'd appreciate any thoughts on whether that's okay. I can > drop that patch if needed. Mumble. Normally, it's something we would avoid, since there aren't that many users using fast commit, since it's not enabled by default. And given that the off-by-one errors are bugs, an it's a question of old kernels requiring a pretty buggy layout, the question is whether it's worth it to do an explicit version / feature flag and support both for some period of time. I'm inclined to say no, and just let things slide, and instead make sure that e2fsck can handle both the old and the new format, and let that handle the fast commit replay if necessary. Harshad, what do you think? - Ted