Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 14:06:55 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-fs@freebsd.org
Subject:   Upgrading ZFS compression
Message-ID:  <kut1oq$plv$1@ger.gmane.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
------enig2HLQWJIACJQPFHJAXEBRH
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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?


------enig2HLQWJIACJQPFHJAXEBRH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlISCmIACgkQ/QjVBj3/HSx1FACdHbyqwUtegTHjAsx4eZ5kjiUZ
On4AnjM6ZmAMQt8PKTmaRDRuHpOn1qlc
=gkwK
-----END PGP SIGNATURE-----

------enig2HLQWJIACJQPFHJAXEBRH--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?kut1oq$plv$1>