565bc10111
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
9 lines
106 B
Makefile
9 lines
106 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../geom/zero
|
|
|
|
KMOD= geom_zero
|
|
SRCS= g_zero.c
|
|
|
|
.include <bsd.kmod.mk>
|