[zfs-code] expanding the size of a zio during the write pipeline

2007-09-19 Thread Darren J Moffat
Jeff Bonwick wrote: > There are all kinds of problems with this. It's not OK to grow the > amount of space used -- that'll break quotas, reservations, etc. Okay so we can't us AES in CCM mode then. That means that the only option will be modes of AES that don't expand. For now that means we w

[zfs-code] expanding the size of a zio during the write pipeline

2007-09-18 Thread Jeff Bonwick
There are all kinds of problems with this. It's not OK to grow the amount of space used -- that'll break quotas, reservations, etc. We should really get together for a comprehensive design review. When's the next time you're going to be in town? Jeff On Fri, Sep 14, 2007 at 06:01:05PM +0100, Da

[zfs-code] expanding the size of a zio during the write pipeline

2007-09-14 Thread Darren J Moffat
For the CCM mode of AES the ciphertext is slightly larger than the plaintext. This is because of the built in Message Authentication Code (MAC). At what point in the write pipeline do I need take this into account ? Encryption happens after Compression but in the case there there is no Compre