Date: Wed, 05 Jul 2006 12:50:13 -0500 From: Eric Anderson <anderson@centtech.com> To: "R. B. Riddick" <arne_woerner@yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: new class / geom_cache / request for comments Message-ID: <44ABFBD5.5020705@centtech.com> In-Reply-To: <20060704200124.25467.qmail@web30301.mail.mud.yahoo.com> References: <20060704200124.25467.qmail@web30301.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
R. B. Riddick wrote: > Hiho! > > I just wrote a new(?) GEOM class: > geom_cache > > It is my very first GEOM class and my first larger kernel code... > I took it mostly from geom_concat... :-) > It was quite easy to change the behaviour of geom_concat... > > The advantage of geom_cache is, that (even if we have a hard disc with a cache) > we can avoid reading the same area twice. I cared for segmentation of the cache > space a little bit by using a stripe size. The cache is always clean > (hopefully), so that it should not be dangerous to use geom_cache (if I did > everything right enough). > > I attached a bzip'ed tar file although it is about 15KB large. > > I would be glad, > 1. if somebody tells me, what I did wrong (especially that license stuff and > the man page (I dont know man page language) might be wrong) > and > 2. if somebody can use it. > > I plan to use it for my next GEOM class (geom_raid5), where it might be useful > in case of sequential read from a degraded provider (or is there a smarter way > to do it?). > > Bye > Arne Hi Arne! Just curious, how is this different/better than the regular buffer cache? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44ABFBD5.5020705>