summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-02-01 11:59:14 +0000
committerrwatson <rwatson@FreeBSD.org>2008-02-01 11:59:14 +0000
commit95bb3acd1f253620ea863b23dd9db58d0692650b (patch)
treea9f4e7b9840116416e820b2daec71b3627352a4c /sys/kern/vfs_aio.c
parent49092fb3fc0e8e52a381c2a4d5f8fddf6e5b1b1e (diff)
downloadFreeBSD-src-95bb3acd1f253620ea863b23dd9db58d0692650b.zip
FreeBSD-src-95bb3acd1f253620ea863b23dd9db58d0692650b.tar.gz
Use FEATURE() macro to advertise aio availability.
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index 877ddf1..60a8149 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -119,6 +119,8 @@ static uint64_t jobseqno;
#define AIOD_LIFETIME_DEFAULT (30 * hz)
#endif
+FEATURE(aio, "Asynchronous I/O");
+
static SYSCTL_NODE(_vfs, OID_AUTO, aio, CTLFLAG_RW, 0, "Async IO management");
static int max_aio_procs = MAX_AIO_PROCS;
OpenPOWER on IntegriCloud