[zfs-code] When does blkptr_t->blk_birth get filled in ? (IV generation for crypto)

2007-08-02 Thread George Wilson
Darren J Moffat wrote: > I've been hoping to use elements of the blkptr_t as the initalisation > vector (IV) for the AES crypto algorithms - specifically the offset and > blk_birth. When do these get filled in ? This happens during the allocate phase of the pipeline (either zio_dva_allocate

[zfs-code] When does blkptr_t->blk_birth get filled in ? (IV generation for crypto)

2007-08-02 Thread Darren J Moffat
I've been hoping to use elements of the blkptr_t as the initalisation vector (IV) for the AES crypto algorithms - specifically the offset and blk_birth. When do these get filled in ? I was expecting them to be filled in by the time we reached the ZIO_WRITE_ENCRYPT_STAGE (after compression but