From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E852606A322 for ; Fri, 4 Dec 2026 08:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.a=rsa-sha256 header.s=beta header.b=Dq6+DBoS; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.a=rsa-sha256 header.s=x header.b=e4ildF1V; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.a=rsa-sha256 header.s=x header.b=IdF1Ypr3 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Subject:In-Reply-To:MIME-Version:References:Message-ID:To:From:Date:Sender: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post:List-Owner; bh=Bv5FRq5H1L1qYTr9jCvbfAidA9lZbQxhmJ1ZkPJfsi8=; b=Dq6+DBoSZA9F0c06fAz7HpbWQH 9XH0sqiMFWQKJvIyGZ+wuOtGG8+W0b2JGVwnkKamvXjajt8qkjYToeNsE247oNE4AQapYwGLHdpnK b+xHONjarQLI4um8eLplct3F5/P5gxvRi5wzUAKk8vo7xQkDIu6q3DVT82hSlh9y+93k=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xZOjE-000000001Kc-0xgb; Fri, 04 Dec 2026 08:33:16 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xZOjD-000000001KC-0vkI for linux-f2fs-devel@lists.sourceforge.net; Fri, 04 Dec 2026 08:33:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; 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:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vrDeS5JsMVqJsS7pNOHfcx6Psz3RALAnJY3UYWJHCFI=; b=e4ildF1Ves4nDO7MJ+IcNqP7K1 JAWNfDG2zJUobbSSXuyWi4+grpSiQW2PV96aMvIDTN37vBrDW88CsNa+my5Z7ZOof2p+ieq6sicu1 2njM7OxLSXoXg75Lg8NklDnUoqzCwvdYn0xlmej08M6jol+OeZkxobRX0LFuc691bqQs=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; 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:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Unsubscribe-Post: List-Subscribe:List-Post:List-Owner:List-Archive; bh=vrDeS5JsMVqJsS7pNOHfcx6Psz3RALAnJY3UYWJHCFI=; b=IdF1Ypr3bomvcJCX3kAL17JmEp W5gA/ILCKoX0ngzWRraq5TMPwis0a8XFeiQgaDavhfyP35R8w9EyXvtobJeGwZMphd2JZecxQYqm6 jqglnBBt6AypbTKPdz1BxSeHUgS8Y37Bs5HFJRjC/NTAlcdqGENuHKp7vUe7Di+XXLMo=; Received: from verein.lst.de ([213.95.11.211]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZOjB-00000000850-35D1 for linux-f2fs-devel@lists.sourceforge.net; Fri, 04 Dec 2026 08:33:15 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id B1C5568B05; Fri, 4 Dec 2026 09:33:05 +0100 (CET) Date: Fri, 4 Dec 2026 09:33:05 +0100 From: Christoph Hellwig To: Andrey Albershteyn Message-ID: <20261204083305.GC18079@lst.de> References: <20261202165653.767961-1-aalbersh@kernel.org> <20261202165653.767961-14-aalbersh@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20261202165653.767961-14-aalbersh@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: 0.0 (/) X-Headers-End: 1xZOjB-00000000850-35D1 Subject: Re: [f2fs-dev] [PATCH v20 13/23] xfs: handle fsverity I/O in write/read path X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fsverity , linux-xfs , Christian Brauner , Carlos Maiolino , david@fromorbit.com, linux-f2fs , Eric Biggers , fsdevel , linux-ext4 , Christoph Hellwig , linux-btrfs Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Wed, Dec 02, 2026 at 05:56:43PM +0100, Andrey Albershteyn wrote: > For write path set IOMAP_F_FSVERITY flag telling iomap to not update > inode size and to not skip folios beyond EOF. > > For read path let iomap know that we are reading fsverity metadata. So, > treat holes in the tree as request to synthesize tree blocks and hole > after descriptor as end of the fsverity region. Looks good modulo the nitpick from Sashiko. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796373189; b=RLPWIyoHWlouICZ509dI9mSHQFstmc79C3leZTZUXdAdwbv5X7I6d2hbgGNarsr3nhTT SJ4yZ0+RGnbzxHOv5xFkzwc7P8OwaPHCnzBdirH/4SPGAuu+WJoSwCnBeZzjr+8zzATG8 xWVA0xS08JTQVgGUTk/fbZZoHPoZv5fUltJ4ADqR2okeTaII7GV/ZH57V5VXFooc4lEZx kBdXJzhSX/XNWAvdR9qRj+V0cnTPqvStWTX39UI32ZNSiHQCGBdZyRkeBSpV8+LYKfml9 fARMU0sFMty/eXjK4nvHMUmQf7tqTl/RTIfF1Z3J2xaMaBzNrmXnk6F4+YUAh0QUY2g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796373189; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=vrDeS5JsMVqJsS7pNOHfcx6Psz3RALAnJY3UYWJHCFI=; b=HxxMcrf8uJCeyzuqglwO9VuYW8qbFVpugdUgiZcQoOWPJ0oUZ3R/Ou+RRqYE1ez0G3gv ykrywCvMvvtkkC6GDNPrmanumUsObtar5IeK6j5h+T6HKOatwb8TH1MXMHXsetb4HENsJ c/c43nxeLV6yVlNNlVnOiLHNfVzp+WDjiDvbYCV5686q5uh9MZTudRM9ohs/eyaL9bVX5 SnAEIgiWxGkHngW4w/Mag2EJiPEMfdbifTntKK3SFZva1LEZHDHzkDo+xvPvhidT1UE/X uaoRH22miYs12Y/e5fDVKzUflJakW7g0QAK9CHMWdxxYqF8PHGFUeRAeS63MW9E74yw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.remote-ip=213.95.11.211 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2714B606A32F for ; Fri, 4 Dec 2026 08:33:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2714B606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id B1C5568B05; Fri, 4 Dec 2026 09:33:05 +0100 (CET) Date: Fri, 4 Dec 2026 09:33:05 +0100 From: Christoph Hellwig To: Andrey Albershteyn Cc: fsdevel , linux-ext4 , linux-btrfs , linux-f2fs , Eric Biggers , Christoph Hellwig , Carlos Maiolino , fsverity , linux-xfs , Christian Brauner , david@fromorbit.com Subject: Re: [PATCH v20 13/23] xfs: handle fsverity I/O in write/read path Message-ID: <20261204083305.GC18079@lst.de> References: <20261202165653.767961-1-aalbersh@kernel.org> <20261202165653.767961-14-aalbersh@kernel.org> X-Mailing-List: fsverity@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202165653.767961-14-aalbersh@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Wed, Dec 02, 2026 at 05:56:43PM +0100, Andrey Albershteyn wrote: > For write path set IOMAP_F_FSVERITY flag telling iomap to not update > inode size and to not skip folios beyond EOF. > > For read path let iomap know that we are reading fsverity metadata. So, > treat holes in the tree as request to synthesize tree blocks and hole > after descriptor as end of the fsverity region. Looks good modulo the nitpick from Sashiko.