Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15403367rwb; Mon, 28 Nov 2022 11:08:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf5Gw+UucWymmi9zn/Bl8SW5iS8/EpZCVx+nZwl0md0oBIBukMT+r1Rwz2JBdi5vra9GpkSN X-Received: by 2002:a17:906:b205:b0:7be:5a13:1303 with SMTP id p5-20020a170906b20500b007be5a131303mr9946404ejz.25.1669662521826; Mon, 28 Nov 2022 11:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669662521; cv=none; d=google.com; s=arc-20160816; b=XSpw8WupQLUOxnSKObpg8t7H9PCDhvAFFdWUtYp/madQmECwvM6PQoo5KXjdXOWRCU UcwyRr87tBqGjW1chuXWGjlYucIkJx0t9wWIRpUZ+QUMS7RfL5JbYTBtMcREbTznRWXQ G1F42jgq8nOm5cnQ+v+v9kVYZvq671slNa20y+Xhur/IwK9IPeE9xEnHdKdotFN7cvBZ EAbyGVynSJL5H2ogjDVtWKY71KGug8SwP1ibSgAECFxAX3T1nIVubolqokWf0tevjQ2+ 9dXom5jjncb2mqkyuyYksRU7k93G6L3tYoEOPxe9dQBl1xSfA1aMC1Fn207Bp70xGbLM GBlw== 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=tp2PODc+SXpsGTnLty/4gveksluWt/MLV8dnVh/rdNg=; b=xkgeP5dox/BlMgMzxN5QlQwcKnvvY9jVMSfCcp7sQ33EpNPbmgmWSl5yV5l41LPuXT RVhaIKUe7AaCxld4ffsPoEIvwsRGNQrCIq00HssXHQjUUXHgK20noSiz1UDgGL01CQ2J +usHEJzpHLg7aBzVGcLkIOzlxvqScHdR886Fx6uYE6plpRP/iNAWqTumFxuhRasqhKdF l5jNYdh1qooJKZusnZ+WQXyGefUGcGFKVcSagnfK+5XQrUYvOaoDVxJnNKsP6CW50LvT FStJ4Zdef5fm8YN4YYYYdMtY736gjWcMNABqsUhWdtH5eh6aRfof2PzzFVx6+lSHOoBp ZoUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZrJ+ewUe; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho13-20020a1709070e8d00b007bad1338dd3si11816089ejc.851.2022.11.28.11.07.58; Mon, 28 Nov 2022 11:08:41 -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=@kernel.org header.s=k20201202 header.b=ZrJ+ewUe; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232512AbiK1TDW (ORCPT + 99 others); Mon, 28 Nov 2022 14:03:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbiK1TDU (ORCPT ); Mon, 28 Nov 2022 14:03:20 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89AF727FFA; Mon, 28 Nov 2022 11:03:19 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2BA0361372; Mon, 28 Nov 2022 19:03:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EF32C433D6; Mon, 28 Nov 2022 19:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669662198; bh=F0+RGrIEwEfbme6pt/5jbjGiLsDseYFGTIlLzhQ4Kl4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZrJ+ewUetTn9qDOZgHo6rtlemBLq8hcCFOa3JVIgTfARoPoNvGnLHKX0fRFsZrsN4 x7RQwJ1P/YHf0AlSglEf+vlOBR/cwDWcE1X2gbzKwU/dLlaBJIbL8036vtoQPVphOd rGYyA4Uo3THAcyPN7isIkSvw9rqDUXRDR45hcb7yt6Yfoyf4Qs5WUd80TtZR9WoDkw +3ra3n/Yu0A5jimpTHH2fCpmi4J3XlVp5NtTypmrRYdAMStDP/DNuDDFOMwoSnm3BD /2u0LuF+qVoaZxJ6BSnIiNcWlui8wD9DIb28xxzN+k5ea5UJReTOqgi1Ou6Gd5XNAz yh29Y8Acd84vQ== Date: Mon, 28 Nov 2022 19:03:17 +0000 From: Eric Biggers To: linux-ext4@vger.kernel.org Cc: 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: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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, Nov 15, 2022 at 05:18:11PM -0800, Eric Biggers wrote: > On Sun, Nov 06, 2022 at 02:48:34PM -0800, Eric Biggers wrote: > > > > 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. > > > > I've tested that this series doesn't introduce any regressions with > > 'gce-xfstests -c ext4/fast_commit -g auto'. Note that ext4/039, > > ext4/053, and generic/475 fail both before and after. > > > > Eric Biggers (7): > > ext4: disable fast-commit of encrypted dir operations > > ext4: don't set up encryption key during jbd2 transaction > > ext4: fix leaking uninitialized memory in fast-commit journal > > ext4: add missing validation of fast-commit record lengths > > ext4: fix unaligned memory access in ext4_fc_reserve_space() > > ext4: fix off-by-one errors in fast-commit block filling > > ext4: simplify fast-commit CRC calculation > > > > fs/ext4/ext4.h | 4 +- > > fs/ext4/fast_commit.c | 203 ++++++++++++++++++------------------ > > fs/ext4/fast_commit.h | 3 +- > > fs/ext4/namei.c | 44 ++++---- > > include/trace/events/ext4.h | 7 +- > > 5 files changed, 132 insertions(+), 129 deletions(-) > > > > > > base-commit: 089d1c31224e6b266ece3ee555a3ea2c9acbe5c2 > > Any thoughts on this patch series? > > - Eric Ping? - Eric