Re: [PATCH v11 03/20] fsverity: pass digest size and hash of the all-zeroes block to ->write

David Sterba <[email protected]> Mon, 20 Jul 2026 13:02:33 +0200
Newsgroups dev.linux.lists.fsverity,net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On Fri, Jul 10, 2026 at 10:52:31AM +0200, Andrey Albershteyn wrote:
> Let filesystem iterate over hashes in the block and check if these are
> hashes of zeroed data blocks. XFS will use this to decide if it want to
> store tree block full of these hashes.
> 
> Signed-off-by: Andrey Albershteyn <[email protected]>
> Reviewed-by: "Darrick J. Wong" <[email protected]>
> Acked-by: Eric Biggers <[email protected]>
> ---

For the API update in

>  fs/btrfs/verity.c        | 6 +++++-

Acked-by: David Sterba <[email protected]>