cvs commit: src/sys/geom/zero g_zero.c
src/sys/modules/geom/geom_zero Makefile
Pawel Jakub Dawidek
pjd at FreeBSD.org
Mon Jul 25 10:03:17 GMT 2005
pjd 2005-07-25 10:03:16 UTC
FreeBSD src repository
Added files:
sys/geom/zero g_zero.c
sys/modules/geom/geom_zero Makefile
Log:
Add a very simple and small GEOM class - ZERO.
It creates very huge provider (41PB) /dev/gzero.
On BIO_READ request it zero-fills bio_data and on BIO_WRITE it does nothing.
You can also set kern.geom.zero.clear sysctl to 0 to do nothing even for
BIO_READ.
I'm using it for performance testing where it is very helpful.
MFC after: 3 days
Revision Changes Path
1.1 +113 -0 src/sys/geom/zero/g_zero.c (new)
1.1 +8 -0 src/sys/modules/geom/geom_zero/Makefile (new)
More information about the cvs-src
mailing list