Upgrading ZFS compression

Ivan Voras ivoras at freebsd.org
Mon Aug 19 12:07:11 UTC 2013


Hello,

Just a quick question: if I have a file system with LZJB, write a file
on it so it gets compressed, then change the compression setting on the
file system to LZ4, will new random writes to the file use the new
compression algorithm?

By looking at the data structures (dnode_phys_t) it looks like the
compression is set per-file object, so no.

OTOH, new files on the file system will pick up new compression
settings, right?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20130819/7320972c/attachment.sig>


More information about the freebsd-fs mailing list