]> www.infradead.org Git - users/hch/misc.git/commit
block: support integrity generation and verification from file systems
authorChristoph Hellwig <hch@lst.de>
Sat, 1 Feb 2025 04:42:43 +0000 (05:42 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 09:21:32 +0000 (10:21 +0100)
commitb4a809cf09cdaff29bce3652a7cb0de58e32ddb3
treecd0ea7c8a8df053376a3baef1e02abdb4aa72f30
parent1dee9fa528f6e3161f2217b6f78b2142e9dc2e54
block: support integrity generation and verification from file systems

Add a new blk_integrity_verify_all helper  that uses the _all iterator to
verify the entire bio as built by the file system and doesn't require the
extra bvec_iter used by blk_integrity_verify_iter and export
blk_integrity_generate which can be used as-is.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk.h
block/t10-pi.c
include/linux/bio-integrity.h