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.