Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12858530rwl; Tue, 3 Jan 2023 23:07:29 -0800 (PST) X-Google-Smtp-Source: AMrXdXuCbJBSe/YZOtxvvKpqLVjFZF5pHpEMZ8voRqnLq3y8JrCKbMNdRjHpGEmd3nXivPPEuN3Y X-Received: by 2002:a05:6a20:4b25:b0:a4:fa9d:d2ee with SMTP id fp37-20020a056a204b2500b000a4fa9dd2eemr66977641pzb.46.1672816049651; Tue, 03 Jan 2023 23:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672816049; cv=none; d=google.com; s=arc-20160816; b=Whto5N/dYXLZg2f3+BZWWIeO3f4Xlvu9rsZRxr8bN2nEZOrIuRkA754juCiC3W9wVu MVpSRYA1aNtZndGJj7D3X3GW+9Tc/mXdnVai3IZMzBq+i4eJyL6/p8g3zuuJiXoyJCBj +UHJ02v9+OjHN2fDPyVkf/3aAo6Ws3Tbpt2t+qfqyN0z5LPmcLC6Q4Al3yMdsn44RgQo zA5Uu6Q+QRhrd+NwDfMGpIZpzjLkPecCBGjC5y7/+xYIE7sMIhnapMy7ddIXLoswdZ6G SdrYkMH0of0SCikS2I2muAykzLGzsL02vMZvrxKY6KeeRAewE84FDtDq5BBzuas3LwJO 9kwg== 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=mE6ZKwD3kNSC8T9t4dogJG/RMfblG8gG8cQg98HLjSw=; b=v8xFqGqXdLrNWButb8PPQXo3mLKscnzLqdxSnnjx6kmXXwt1j3n7yL1cJi6qWTFv6a XbGU6iesTih7z9BhihNyC6y/rEiiRV+RSckF961fxiXznD42nR4iHauQSyA0v+DDNMa2 P71xBj72I6KG9SCP4ot/OThF8NAotdgdqM4b63ds56FGNnxdpa71pNLxhY5foXmZGZF0 EJg8sWj7qyRSflRzj+F00iHMvzwwoIpfz3Q/Ap9h9QJ7wrsgNYMAWcUKhGJl8S3ZVN/o mwhFtQoPExokYpPTPR4Tnb1eECMOAYqYhD1LFj2+U+Wtah+Y6Be+Lxcleg8XUvLvmCHF A8WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qwTIUFZ7; 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 b7-20020a656687000000b004789f4ef8a6si33625594pgw.640.2023.01.03.23.07.11; Tue, 03 Jan 2023 23:07:29 -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=qwTIUFZ7; 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 S233494AbjADG6d (ORCPT + 99 others); Wed, 4 Jan 2023 01:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229469AbjADG6Q (ORCPT ); Wed, 4 Jan 2023 01:58:16 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DFCFDFD0; Tue, 3 Jan 2023 22:58:15 -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 ams.source.kernel.org (Postfix) with ESMTPS id 38420B81203; Wed, 4 Jan 2023 06:58:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADAB0C433D2; Wed, 4 Jan 2023 06:58:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672815492; bh=vWfykaBxFK2pbWTG8aqUgsTxDhfUAki+UHVh3CZ1kTI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qwTIUFZ70fsAPevhykQFaIiev2rVp1Zi6w8IBwq0eEjefZZTS0vCq4zoZVpWesh/q +BQiFRv6kiTpn/0OYS6Ge3NjGTVzcH0zT9EWfba6XrDjW4X6ElYC3XjEDOt5iuF69R bSbsEN8OHTKbQL5JcvI/uhUmZpUlEXI730THT+mZKU95gXFs3KOH3TrUYJ+hjvcDEc 792voQwfxHzXs8in+F8Wzpe3PnRZbukSaABO2HlkDYrxboe2cC+/K4K4QREP1aXcKh ZgfthXZGBf8M62pHfy5B14c4kbBDpx0X/jiFj6p/m+ScG+Br2yrRPSMDsY/0MWpryv WBuD1ek9Zzt3Q== Date: Tue, 3 Jan 2023 22:58:10 -0800 From: Eric Biggers To: linux-fscrypt@vger.kernel.org Cc: linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH 0/4] fsverity cleanups Message-ID: References: <20221214224304.145712-1-ebiggers@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221214224304.145712-1-ebiggers@kernel.org> X-Spam-Status: No, score=-4.6 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,SUSPICIOUS_RECIPS 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 Wed, Dec 14, 2022 at 02:43:00PM -0800, Eric Biggers wrote: > This series implements a few cleanups that have been suggested > in the thread "[RFC PATCH 00/11] fs-verity support for XFS" > (https://lore.kernel.org/linux-fsdevel/20221213172935.680971-1-aalbersh@redhat.com/T/#u). > > This applies to mainline (commit 93761c93e9da). > > Eric Biggers (4): > fsverity: optimize fsverity_file_open() on non-verity files > fsverity: optimize fsverity_prepare_setattr() on non-verity files > fsverity: optimize fsverity_cleanup_inode() on non-verity files > fsverity: pass pos and size to ->write_merkle_tree_block > > fs/btrfs/verity.c | 19 ++++------- > fs/ext4/verity.c | 6 ++-- > fs/f2fs/verity.c | 6 ++-- > fs/verity/enable.c | 4 +-- > fs/verity/open.c | 46 ++++--------------------- > include/linux/fsverity.h | 74 +++++++++++++++++++++++++++++++++------- > 6 files changed, 84 insertions(+), 71 deletions(-) > > Applied for 6.3. (To https://git.kernel.org/pub/scm/fs/fscrypt/fscrypt.git/log/?h=fsverity for now, but there might be a new git repo soon, as is being discussed elsewhere.) - Eric