FreeBSD/sys/cddl/boot/zfs/zfssubr.c
/*
 * Set the external verifier for a gang block based on <vdev, offset, txg>,
 * a tuple which is guaranteed to be unique for the life of the pool.
 */
Set the external verifier for a gang block based on ,
a tuple which is guaranteed to be unique for the life of the pool.
Set the external verifier for a gang block based on a tuple which is guaranteed to be unique for the life of the pool .
static void
zio_checksum_gang_verifier(zio_cksum_t *zcp, const blkptr_t *bp)
{
	const dva_t *dva = BP_IDENTITY(bp);
	uint64_t txg = BP_PHYSICAL_BIRTH(bp);
	ASSERT(BP_IS_GANG(bp));
	ZIO_SET_CHECKSUM(zcp, DVA_GET_VDEV(dva), DVA_GET_OFFSET(dva), txg, 0);
}
static void zio_checksum_gang_verifier ( zio_cksum_t * zcp , const blkptr_t * bp ) { const dva_t * dva = BP_IDENTITY ( bp ) ; uint64_t txg = BP_PHYSICAL_BIRTH ( bp ) ; ASSERT ( BP_IS_GANG ( bp ) ) ; ZIO_SET_CHECKSUM ( zcp , DVA_GET_VDEV ( dva ) , DVA_GET_OFFSET ( dva ) , txg , 0 ) ; }
Set the external verifier for a gang block based on <vdev, offset, txg>,
 a tuple which is guaranteed to be unique for the life of the pool.
Set the external verifier for a gang block based on <vdev offset txg > a tuple which is guaranteed to be unique for the life of the pool .