Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3738266rwb; Fri, 20 Jan 2023 22:52:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXvWuboikCYNrqH02T4PoQhZLfniqVb7J6V6ou9mwO2q3+doHzsb2nMjbhDFMweGJ0BqHqof X-Received: by 2002:a17:906:71a:b0:7c1:6344:84a with SMTP id y26-20020a170906071a00b007c16344084amr18612502ejb.5.1674283935293; Fri, 20 Jan 2023 22:52:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674283935; cv=none; d=google.com; s=arc-20160816; b=h4zL3EINO1TckltSetYcs7I9GQVxKPMGkCSmNvWRgfOSUWykq/3sLvm0UGeVlNDMr0 ybZx/hq5paxtlksWySugmU0oXEMEymluF+Y6Xff3+WYmpBgAbct6vL/sutEjiuiPx/ye BTyXHu4ey5p+KAX4EGsLJoPitR63rTNOq+zGoUe48EyiYJ6tZ12pPyZ6ayPNEsJ+ng02 fIvStFOi1bszDoXM9B+/cT3/nz9HO77yRrXgKlSypiz8RiA/TRha1cOInVo+UopDUQ0A k7SpQvaKHEBGwWzgfKYRFmzXdhbr1ldXLi7Hl6MHuPnX8hEJiV5HDpVo+bZ/wiqoH+b0 7Nqg== 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=pbB8338ZfSvN5avLy4jRRyLgTgoL9VF2bh4jfARYSoY=; b=W6qeezFhEwIAIkN0utwCAQr6pXsmbuq7hELjdXjvuIB6pQZn7CNRZOKL9Fw33o6p2q tVeHEAxhqvQDrQ9T3/yM88Qvo1T65luWo7bKMpiyHyM5Nd1bC33iib/PpKKOtwqrtaI/ 8fX0sJHwvHnlgt/+EhdQ6BGsFxmivBjKP3qLyvgKCyddNtw0rZBsF/zb5jiTuhQePKfu ZOYHutbedx6OWyjo0nzDrkHPsMwMZ6lhnoYIHqTK4i36EfllX/NLTPMEXCn0qKWWIaWf lr66PhzxCP93Qqeu/jdOHQt1e90+kIayR2cSJGqVSZcLWqbQMHOwLNtXZkAu/TtuKCWB 29sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=F+LR1CwI; 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 xj4-20020a170906db0400b007c1691c5296si213108ejb.385.2023.01.20.22.51.47; Fri, 20 Jan 2023 22:52:15 -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=@infradead.org header.s=bombadil.20210309 header.b=F+LR1CwI; 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 S229787AbjAUGjc (ORCPT + 99 others); Sat, 21 Jan 2023 01:39:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjAUGjb (ORCPT ); Sat, 21 Jan 2023 01:39:31 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 320333AB1; Fri, 20 Jan 2023 22:39:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=pbB8338ZfSvN5avLy4jRRyLgTgoL9VF2bh4jfARYSoY=; b=F+LR1CwIsyVpngzUGE2qUMd1jN uj274WuuBiMxOEJ/sz8alo6NOXYTEmgDpxSqhy6+F8U/DLhKVoH7y5pF90W4oQaTeRBgyzwhm1gUu JnmVwS0bYrPR09cpQVViev3nCD9OzprTksNZzrocqDTt1IOw6xnyNOG2tmZY1aX4EtX/oTR2SN+eo /a5Y6I7VBXwxkAJLWa1m0egijIDvOY9XKuuY7Et6B3cmpF2fP+7ltQXRwbc4kPJixH1yjovqRuZsW oTQvvuzNpFPz1GGep/Up3cpy9UoShl8qOlObgbqAMRiP/K/vPnX48uKdKsWRYFxl+4DovjWbi8vmK pxe3gEqg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pJ7X9-00DQNk-ST; Sat, 21 Jan 2023 06:39:23 +0000 Date: Fri, 20 Jan 2023 22:39:23 -0800 From: Christoph Hellwig To: Eric Biggers Cc: Andrew Morton , linux-ext4@vger.kernel.org, Andrey Albershteyn , linux-f2fs-devel@lists.sourceforge.net, linux-xfs@vger.kernel.org, linux-fscrypt@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: [PATCH v2 10/11] fs/buffer.c: support fsverity in block_read_full_folio() Message-ID: References: <20221223203638.41293-1-ebiggers@kernel.org> <20221223203638.41293-11-ebiggers@kernel.org> <20230109183759.c1e469f5f2181e9988f10131@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,URIBL_BLOCKED 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 Fri, Jan 20, 2023 at 11:56:45AM -0800, Eric Biggers wrote: > Any more thoughts on this from Andrew, the ext4 maintainers, or anyone else? As someone else: I relaly much prefer to support common functionality (fsverity) in common helpers rather than copy and pasting them into various file systems. The copy common helper and slightly modify it is a cancer infecting various file systems that makes it really hard to maintain the kernel.