Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2954109rwb; Fri, 9 Dec 2022 08:13:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf5d0yH2raxIEEvOXunaBAlXoIYq1blATLTL1ee+vxZW/l0GMHaBoA5LF371LVsG+8SB3Q0D X-Received: by 2002:a05:6a21:8dcc:b0:ac:29b7:54dc with SMTP id ti12-20020a056a218dcc00b000ac29b754dcmr6330107pzb.5.1670602435628; Fri, 09 Dec 2022 08:13:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670602435; cv=none; d=google.com; s=arc-20160816; b=J//jW/1CLVif3IeQrPsooUR9Twb3M/7YrxpwY7SL2NVRBNNEtChxZ8ZPwr1Du8CZr/ zUzI9XwaQ1/87F9XL+JmK8xadoNhTvEjF9iPS9FxRJmAuP6gTgQUmDOAMaMKbm6lDDhA vF9VW19UrJErQ5iegEKkSKPZTu2wm+uWOzdP6m7SbRWhFMvrH3SSLJd/gXY1eEKOYROr JBuoHV5SgA9wqaaMgMCbg5YNAYUpn4DiMdUQgXE/N/FgG9BG+r8H9hT4rxcPVNn564r/ /0sYB4zIxgVGnvFXLDcCf1HjY/nmR2yOZmxL2iIKesdM0c5fI0dutdeP/x/6vCp1lUvw KMoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=gFY1W9e4ekbWqyIP76hyzmpwflzYOcseT2pOw5ioGts=; b=JMIM9MqrIR9FC41vMiKt3FZpsEOAcxgYiBHmA0ds0ljig+oKpw37qo+UzcVAJEVLUH HtkzHEa17+DzlHEHdpeEyVZYNGcEz5zZouMOfN6vON7pI7IEStbRz6ZR2Wu9hYSwhIa4 U5UCYTb8sLnuSnPnAC2WiD4oNlGkjwIHddpxC5s9SBAXpYQSplc623mTH+JzEMuVovtQ hFOyuNnSnKfcTEPYpnAvABYouymhnRPMZa33Y/+mLbmWemg5UJTN4ESWQ7f362n4DyXs iIgOvt2PPpHNX9jMTpDiRcTS/5wXLbpn2gIKDNNzED7rfQBP4lEFK36bxIJHV+IzBZ4O Gufw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ppQOsQzB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 11-20020a63060b000000b0046b127a1e8bsi1770466pgg.488.2022.12.09.08.13.34; Fri, 09 Dec 2022 08:13:55 -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=pass header.i=@gmail.com header.s=20210112 header.b=ppQOsQzB; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229460AbiLIQNU (ORCPT + 99 others); Fri, 9 Dec 2022 11:13:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiLIQNK (ORCPT ); Fri, 9 Dec 2022 11:13:10 -0500 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E5C926A90; Fri, 9 Dec 2022 08:13:09 -0800 (PST) Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-12c8312131fso291643fac.4; Fri, 09 Dec 2022 08:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=gFY1W9e4ekbWqyIP76hyzmpwflzYOcseT2pOw5ioGts=; b=ppQOsQzB5cHrYFUOIA9zkwszmGsUXghe3JUBfS9o3Z8lXxcHje88+B2H+PdvOonbiC Z5EYWl07d3SHjlmrhObxY/FcxrS9CGfPWqUV3xJj64DQjxtHWl+twTzJCg9ieePTwZkX aP66yK9Wk553rK6ZK4b25hivQD8YD4rISIQfEY8YiPDFDPKGb0hjfpGb/lYj7lFeyKFP lpJQu2D/sfzeIlRizL30EhF0T3HUw9p7xVFowdet1NQfzs63qrMOS3pPV5sIDFO/iBPv N5fISjYxHftJA4J2QPfcZENiEKXm8CUGqjw3nXwIKwddC4aUZ3O1U4LuZ1ijwtbYps5x JO0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gFY1W9e4ekbWqyIP76hyzmpwflzYOcseT2pOw5ioGts=; b=m+9jWAdetpVWn5Oq3FMk+oqhgxVgWdN43lJs9fFEg1/wleVzpuqmo243jql8E1ELfM Gj3n+6ModCzfwgOECsTqFy86lb0MbFNBhqP4+46KQLo946dkHpVPV4SgwgG2fR+Cc3tT FlXDQAuGzYSF1t+zZ2QvfPBsOJitNacfUZDAfkG0fWZ4y/O2NZS3STJ942OdElKCwJrb VLFVKWSLEIO6ineIZj9F6WUQb5aL7O7PJJm0Bnnpi3XQsiJWIJlfL0GncU5PaOO8MRg/ WdkJXGrixfwewdA2XCE7g1q91JKc8XflgiFNZjT96CurHojuo0ek/zNFqnNIb/i8jRKu 7cFQ== X-Gm-Message-State: ANoB5pkWomU1FNfciS8GHRADO7ZiglQlruYJgWUfJVNP/c939xZEJTjh lt+yySSpzDOGJvguv4COxEgNxn/zxJLhSPj+HEM= X-Received: by 2002:a05:6870:6689:b0:144:dffd:8302 with SMTP id ge9-20020a056870668900b00144dffd8302mr3757743oab.146.1670602388565; Fri, 09 Dec 2022 08:13:08 -0800 (PST) MIME-Version: 1.0 References: <20221106224841.279231-1-ebiggers@kernel.org> In-Reply-To: From: harshad shirwadkar Date: Fri, 9 Dec 2022 08:12:56 -0800 Message-ID: Subject: Re: [PATCH 0/7] ext4 fast-commit fixes To: "Theodore Ts'o" Cc: Eric Biggers , linux-ext4@vger.kernel.org, linux-fscrypt@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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-ext4@vger.kernel.org On Tue, 6 Dec 2022 at 13:04, Theodore Ts'o wrote: > > 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? I agree. Making kernel replay backward compatible would complicate the replay code without adding that much value (since there aren't that many users and fast commit isn't enabled by default). So, having the ability in e2fsck to do replays should suffice in this case. - Harshad > > - Ted