summaryrefslogtreecommitdiffstats
path: root/sys/sys/sf_buf.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2013-09-22 13:36:52 +0000
committerglebius <glebius@FreeBSD.org>2013-09-22 13:36:52 +0000
commit12fb397079ae31a26be56507235df63d4f0ef5a3 (patch)
tree9ba162f03b1c450c6c062e63e5a94fabaeb7f2d1 /sys/sys/sf_buf.h
parent79894c60808ab81f99811a12ec76a9cfd16ec29d (diff)
downloadFreeBSD-src-12fb397079ae31a26be56507235df63d4f0ef5a3.zip
FreeBSD-src-12fb397079ae31a26be56507235df63d4f0ef5a3.tar.gz
- Create kern.ipc.sendfile namespace, and put the new "readhead" OID
there as "kern.ipc.sendfile.readahead". - Push all nsfbuf related tunables into MD code. Don't move them to new namespace in favor of POLA. Reviewed by: scottl Approved by: re (gjb)
Diffstat (limited to 'sys/sys/sf_buf.h')
-rw-r--r--sys/sys/sf_buf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/sys/sf_buf.h b/sys/sys/sf_buf.h
index 2e85bc8..c30c7c0 100644
--- a/sys/sys/sf_buf.h
+++ b/sys/sys/sf_buf.h
@@ -42,10 +42,6 @@
struct vm_page;
-extern int nsfbufs; /* Number of sendfile(2) bufs alloced */
-extern int nsfbufspeak; /* Peak of nsfbufsused */
-extern int nsfbufsused; /* Number of sendfile(2) bufs in use */
-
struct sfstat { /* sendfile statistics */
uint64_t sf_iocnt; /* times sendfile had to do disk I/O */
uint64_t sf_allocfail; /* times sfbuf allocation failed */
OpenPOWER on IntegriCloud