summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-06-15 05:15:38 +0000
committerkib <kib@FreeBSD.org>2014-06-15 05:15:38 +0000
commit249e790152e39fa6d08cfe0eaacd610b1871b25c (patch)
tree81c93a5f6b8d94dadfbf0f186bf95f496148cc2d /sys/kern/vfs_bio.c
parentf631a2c600c2f4b30209d641868ec9ec55f3d3b3 (diff)
downloadFreeBSD-src-249e790152e39fa6d08cfe0eaacd610b1871b25c.zip
FreeBSD-src-249e790152e39fa6d08cfe0eaacd610b1871b25c.tar.gz
MFC r267226:
Initialize the pbuf counter for directio using SYSINIT. Mark ffs_rawread.c as requiring both ffs and directio options to be compiled into the kernel. Add ffs_rawread.c to the list of ufs.ko module' sources.
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index d69bba9..3d19d74 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -77,7 +77,6 @@ __FBSDID("$FreeBSD$");
#include <vm/vm_extern.h>
#include <vm/vm_map.h>
#include "opt_compat.h"
-#include "opt_directio.h"
#include "opt_swap.h"
static MALLOC_DEFINE(M_BIOBUF, "biobuf", "BIO buffer");
@@ -351,10 +350,6 @@ sysctl_bufspace(SYSCTL_HANDLER_ARGS)
}
#endif
-#ifdef DIRECTIO
-extern void ffs_rawread_setup(void);
-#endif /* DIRECTIO */
-
/*
* bqlock:
*
@@ -739,9 +734,6 @@ kern_vfs_bio_buffer_alloc(caddr_t v, long physmem_est)
if (nswbuf < NSWBUF_MIN)
nswbuf = NSWBUF_MIN;
#endif
-#ifdef DIRECTIO
- ffs_rawread_setup();
-#endif
/*
* Reserve space for the buffer cache buffers
OpenPOWER on IntegriCloud