From owner-freebsd-fs@FreeBSD.ORG Mon Aug 19 12:07:11 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AB0C8D07 for ; Mon, 19 Aug 2013 12:07:11 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69AC72A00 for ; Mon, 19 Aug 2013 12:07:11 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VBOEm-00005M-GT for freebsd-fs@freebsd.org; Mon, 19 Aug 2013 14:07:08 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Aug 2013 14:07:08 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Aug 2013 14:07:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Subject: Upgrading ZFS compression Date: Mon, 19 Aug 2013 14:06:55 +0200 Lines: 34 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2HLQWJIACJQPFHJAXEBRH" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130322 Thunderbird/17.0.4 X-Enigmail-Version: 1.5.1 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 12:07:11 -0000 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--