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=uiNtPlsVbOk3UDsdWRiJjqcQKZ3G8738Wfdv9o3b5tsGbjm/daVKjt8Jp+eYlRPIrbyT ZXYGuHU8ejdIi1Cg0Zj7rNQBVdGSAkK7AH3zaOIvALss+yeKZwLKZIT2j5GifNXjnAtWC M61RkrUsTtOtbwdIlYkr4sEke7YncygLD9mIkxSohwIuDYdpw7KeI9BJmnqDs4bZncj92 ZHY6UP4YVixBiNXFkFYPwLjQx2RI0c85UDRE25fmUQrlymdYz2G1Zr9cTvlCoDIc703aq WykJUWXPnsDuwGMv+aWLmvwDQdIShZDwg+5og4Vjr6Rmv7nwTK/mw/e/M/nwCI6arJg== 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=Pz5Lzzlm1aLxMpSJym69nwWro5LpHakSqBlRNZITRFQ9z9Uvb21VjLl9R0gGCUZCDLFk BBa9Qah+17ho2PRDW9clmi7eB451Ocp+hYIvgcLwmjcvIqEOZ+XIGOIXeGV6KxbfLVXLt y1za3xPsoGHsTdu9WeU9UWIH2cqCg0tk6/ocigIWp7yBpFClUlC34uylDLRFFFKIhkr4V wopayIqiYxSs12bj/nXXDfOOJqXqnvLiTf+nohC5yIfw/Ik1dgVhR8HSKHMPsmtU7yjzQ juVGv+KOugbO9AuQMgvFP7NuBk/4X0Jg6q4CGw8uE/FUFUn1Mt9OMO8WsZKgQIJpeiQ== 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 2717F606A330; Fri, 4 Dec 2026 08:33:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2717F606A330 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: linux-xfs@vger.kernel.org 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.