new class / geom_cache / request for comments
Eric Anderson
anderson at centtech.com
Wed Jul 5 17:50:20 UTC 2006
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.
------------------------------------------------------------------------
More information about the freebsd-geom
mailing list