Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 10:01:26 -0500
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Geoff Fritz <gfritz@gmail.com>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: GCACHE -- what's it for?
Message-ID:  <20081216150126.GA1072@in-addr.com>
In-Reply-To: <20081216040633.GA17495@dev.null>
References:  <20081216040633.GA17495@dev.null>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 15, 2008 at 09:06:33PM -0700, Geoff Fritz wrote:
> I noticed the presence of the geom_cache module recently.  Very little
> available in the archives on what it's used for.
> 
> Found a post by pjd@ with a link to a tarball containing a man page:
> 
> "The gcache utility is used for setting up a clean cache in front of the IDE
> controller on one disk."
> 
> (btw, where do I post to get this man page included in the release?
> freebsd-doc?  I'm running 7.1-RC1 and the man page is absent.)
> 
> I set up a test device with it, and noticed that the disk did a lot of
> thrashing when it was being written to, moreso than normal.  Is the purpose of
> this module to ensure that when the gcache provdider says the write was made
> it was in fact 100% written to the physical disk (or at least accepted by the
> next layer down)?
> 
> Thanks for the info.

The commit message may be of some value to answer the "what" question:

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/geom/cache/g_cache.c#rev1.1

Regarding the missing manpage, I'd recommand filing a PR (if one
does not already exist).

Regards,

Gary



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