This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-04-21 14:17:06 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
12e46bad2c
opnsense-src
/
sys
/
modules
/
geom
/
geom_zero
/
Makefile
9 lines
100 B
Makefile
Raw
Normal View
History
Unescape
Escape
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
2005-07-25 06:03:16 -04:00
# $FreeBSD$
sys/modules: normalize .CURDIR-relative paths to SRCTOP This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
2017-03-04 05:10:17 -05:00
.PATH
:
${
SRCTOP
}/
sys
/
geom
/
zero
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
2005-07-25 06:03:16 -04:00
KMOD
=
geom_zero
SRCS
=
g_zero.c
.
i
n
c
l
u
d
e
<
b
s
d
.
k
m
o
d
.
m
k
>
Reference in a new issue
Copy permalink