George Wilson wrote: > > 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 or zio_write_allocate_gang_members). The value will be > set to whatever zio->io_txg holds.
Are there any possible cases where the blk_birth will not be io_txg once it is written out to disk ? -- Darren J Moffat