Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2013 19:23:54 +0200
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-fs <freebsd-fs@freebsd.org>
Subject:   Re: Upgrading ZFS compression
Message-ID:  <CAOaKuAWDELJPpZhq1cLAL=zWhD%2B3YY8V6mBKD=wsdLPhtnzTRg@mail.gmail.com>
In-Reply-To: <kut1oq$plv$1@ger.gmane.org>
References:  <kut1oq$plv$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Op maandag 19 augustus 2013 schreef Ivan Voras (ivoras@freebsd.org):

> 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?


 As far as i know all new files put on the dataset will be compressed using
the new compression type.

Regards
Johan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOaKuAWDELJPpZhq1cLAL=zWhD%2B3YY8V6mBKD=wsdLPhtnzTRg>