new class / geom_cache / request for comments

R. B. Riddick arne_woerner at yahoo.com
Tue Jul 4 20:01:26 UTC 2006


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


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geom_cache.tbz
Type: application/octet-stream
Size: 11907 bytes
Desc: 421534077-geom_cache.tbz
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20060704/9c368150/geom_cache.obj


More information about the freebsd-geom mailing list