summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2005-07-25 10:03:16 +0000
committerpjd <pjd@FreeBSD.org>2005-07-25 10:03:16 +0000
commitda0fa3b3e071fca3f1287439ec8fb56f430166fd (patch)
tree928f47c30e231832f8d3eec4d2869be495ce6183 /lib/libc
parenta2d24671eab600f642f4ff91d05a29f9cc8de794 (diff)
downloadFreeBSD-src-da0fa3b3e071fca3f1287439ec8fb56f430166fd.zip
FreeBSD-src-da0fa3b3e071fca3f1287439ec8fb56f430166fd.tar.gz
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
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud