Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp146267rwb; Wed, 14 Dec 2022 15:14:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf4BklT/lp9uAYqXfDUcWVdcguH/ZvXMh5y1fZAqaeX1JGU6tpZBYafNg0G5o4leFQ/BvNqt X-Received: by 2002:a17:907:9016:b0:7c1:7010:f413 with SMTP id ay22-20020a170907901600b007c17010f413mr11953733ejc.19.1671059679998; Wed, 14 Dec 2022 15:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671059679; cv=none; d=google.com; s=arc-20160816; b=CXrmwxCPcTW8r71oBmWruJ0UwshhD2Eg9zjqtJp0Hy28Ek3YaIII/4wh8BBfaRLd8X gHGQ4Vc95WaDWWWsJnQR4TijLcjSpUMhP69avs3ew5193uFVFs7A9oSsoSZ41A9Ctjhv FZj7u3KgH+jgFzSFrvwzrNKxoQOdseZPBJJI7iK0HCml+Sf2XKHtevV/HPpSEVB9YTn5 DQc6mfbEqJinboDe7CveZipHKoRjtGcrMAO6of2mtokeLTivrH9jrHpZUIKDvfJJE+Ax 1piUJxxCYEIO9Rb1iiMELZO4rvNtq83Mf3I8whRwkSLKXiH+eLyuqXaXmW7yohbbYyYl wXrw== 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=sfUK4j3uPSy8USYGH1WaBKFFv+FcT9DPrt0X+dJMTPs=; b=PXmLMJu5eg6/Ypvcy9Jlmm7p0Ohsdsi9CplzTgQmanVdae0RWQyEwReUGzq8QjAM4R qPckUqByho93R+WlVgE2qUrxb2GxubUK/rlr7/LkPoNlTzWHP3mAqTm7vCAGS2CsdbZ/ lFGMztny+hbH2y43332RH5sqfs8Iu3axkxkjvVAHhd9GdPJWwXIzC7YNpaA5MuVkSFwm YLM5WBdUHiNv7OGZS2cLldS4YbieRomQtsa5dLCVUgpUOMfDw4cahk/Eay445xH7jknq spstnxYEi9ppfkX0KAI66W674XT6dBeJyhr/N/HtiPpUM0hFI+vlFTK+E11pJqv5cjR0 yblw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fromorbit-com.20210112.gappssmtp.com header.s=20210112 header.b=cGHJXZ7+; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qk33-20020a1709077fa100b007c1031ebabasi12315797ejc.49.2022.12.14.15.14.11; Wed, 14 Dec 2022 15:14:39 -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=@fromorbit-com.20210112.gappssmtp.com header.s=20210112 header.b=cGHJXZ7+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229506AbiLNXKx (ORCPT + 99 others); Wed, 14 Dec 2022 18:10:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiLNXKw (ORCPT ); Wed, 14 Dec 2022 18:10:52 -0500 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A25E5261A for ; Wed, 14 Dec 2022 15:10:50 -0800 (PST) Received: by mail-pj1-x102e.google.com with SMTP id u15-20020a17090a3fcf00b002191825cf02so860235pjm.2 for ; Wed, 14 Dec 2022 15:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fromorbit-com.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sfUK4j3uPSy8USYGH1WaBKFFv+FcT9DPrt0X+dJMTPs=; b=cGHJXZ7+kyvGSVT2OxZJ+Jak0y2wfSb6LWPex+ngGJ8Tu3SIAg7xRRWfX1C2WHhhGL 7Ry8iM8UO7Clz11UW7kHc5i2VR3RNt/SOyAXzXn9qWcmuRGRz3pSwbDeNUVToTat8oo6 EJNqgHPLfZcPylGQ8uYwR5SamH1F51HUyj0mOwIWHc8yUc/a/usMejiDPfPBvvpe2gOc /B4BTGH6TJhwb+JOs6UXtePadcmVKAocK94oAl9pBXh5bdIAY6VkTorkgeOy4eIudSYp o0jMzhNkhgRAjCA+6PjoIIraN4O1TW0oNJ4bqsBzlyaQdWs0nU8lfoL5pasMX84NTPRF UWRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sfUK4j3uPSy8USYGH1WaBKFFv+FcT9DPrt0X+dJMTPs=; b=UNObcxnL/+V2qBwPYDE7JaeTuLqTwocrs0Z6+XbhT7ZxaotzIQUXBKG4ZXoYnQolmf 9fFQNB7CeXeW78K57uWDPDYjk8MMbvNW70D1HXftHXr7il1ATxyorSCgdyHhNyooIzTx 3min/24DtlNtejer2AFuUDHIkQPfDnvyBaW8+sJdJkjSbhiRs9uUdKA2w9rAVnFTraE/ rLsXfW/GNMkzyaSf5YEwu5ZOMr2oorFqcOzjbNLMY9EXbFguYvmKgdzrq2SFCISB47bG bzj3LQ3iThaf2jxv1BYnhtwKG47LuVQQhVx2ndWjE/bcjqTfLfKLYGY1jV/Vm7wVJ4yS WRHQ== X-Gm-Message-State: ANoB5pmBSNGRUyqELF7OcyF8eWR+glzKIHhfgdjo81FFliuZ2vhOdumU gEkrgsUKCv4yFSlDO7oongnqRw== X-Received: by 2002:a05:6a20:3b01:b0:ac:2559:35f6 with SMTP id c1-20020a056a203b0100b000ac255935f6mr30989367pzh.28.1671059450001; Wed, 14 Dec 2022 15:10:50 -0800 (PST) Received: from dread.disaster.area (pa49-181-138-158.pa.nsw.optusnet.com.au. [49.181.138.158]) by smtp.gmail.com with ESMTPSA id rm10-20020a17090b3eca00b00218fba260e2sm1870310pjb.43.2022.12.14.15.10.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 15:10:49 -0800 (PST) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1p5ati-008W7d-Nw; Thu, 15 Dec 2022 10:10:46 +1100 Date: Thu, 15 Dec 2022 10:10:46 +1100 From: Dave Chinner To: Eric Biggers Cc: linux-fscrypt@vger.kernel.org, linux-ext4@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-btrfs@vger.kernel.org, linux-xfs@vger.kernel.org Subject: Re: [PATCH 0/4] fsverity cleanups Message-ID: <20221214231046.GB1971568@dread.disaster.area> 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=0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,SUSPICIOUS_RECIPS autolearn=no 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(-) The whole series looks fairly sane to me. Acked-by: Dave Chinner -- Dave Chinner david@fromorbit.com