Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2011 13:04:41 -0700
From:      Artem Belevich <art@freebsd.org>
To:        Jason Usher <jusher71@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS obn FreeBSD hardware model for 48 or 96 sata3 paths...
Message-ID:  <CAFqOu6hd4YXtWmLLngzys3Um843QUhSouqqPk=OLLFKaU7DLiw@mail.gmail.com>
In-Reply-To: <1316459220.35419.YahooMailClassic@web121209.mail.ne1.yahoo.com>
References:  <alpine.GSO.2.01.1109171451500.1973@freddy.simplesystems.org> <1316459220.35419.YahooMailClassic@web121209.mail.ne1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 19, 2011 at 12:07 PM, Jason Usher <jusher71@yahoo.com> wrote:
> Can I explicitly cache metadata/dirs in RAM, and cache file data in L2ARC ?

See primarycache and secondarycache properties. They determine caching
policies for ARC and L2ARC respectfully. Valid values are none,
metadata and all.

So, the answer you your question above is yes for metadata in RAM and
no for data-only for L2ARC as there is no way to enable data chache
without metadata.

--Artem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFqOu6hd4YXtWmLLngzys3Um843QUhSouqqPk=OLLFKaU7DLiw>