svn commit: r294038 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Thu Jan 14 21:28:57 UTC 2016
Author: jhb
Date: Thu Jan 14 21:28:56 2016
New Revision: 294038
URL: https://svnweb.freebsd.org/changeset/base/294038
Log:
Remove aiod_timeout.
It hasn't been used since the AIO code was made MPSAFE 10 years ago.
Reviewed by: kib
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D4946
Modified:
head/sys/kern/vfs_aio.c
Modified: head/sys/kern/vfs_aio.c
==============================================================================
--- head/sys/kern/vfs_aio.c Thu Jan 14 21:08:23 2016 (r294037)
+++ head/sys/kern/vfs_aio.c Thu Jan 14 21:28:56 2016 (r294038)
@@ -117,10 +117,6 @@ static uint64_t jobseqno;
#define MAX_BUF_AIO 16
#endif
-#ifndef AIOD_TIMEOUT_DEFAULT
-#define AIOD_TIMEOUT_DEFAULT (10 * hz)
-#endif
-
#ifndef AIOD_LIFETIME_DEFAULT
#define AIOD_LIFETIME_DEFAULT (30 * hz)
#endif
@@ -165,10 +161,6 @@ SYSCTL_INT(_vfs_aio, OID_AUTO, num_buf_a
/* XXX This should be local to aio_aqueue() */
static int num_aio_resv_start = 0;
-static int aiod_timeout;
-SYSCTL_INT(_vfs_aio, OID_AUTO, aiod_timeout, CTLFLAG_RW, &aiod_timeout, 0,
- "Timeout value for synchronous aio operations");
-
static int aiod_lifetime;
SYSCTL_INT(_vfs_aio, OID_AUTO, aiod_lifetime, CTLFLAG_RW, &aiod_lifetime, 0,
"Maximum lifetime for idle aiod");
@@ -504,7 +496,6 @@ aio_onceonly(void)
NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
aiolio_zone = uma_zcreate("AIOLIO", sizeof(struct aioliojob), NULL,
NULL, NULL, NULL, UMA_ALIGN_PTR, UMA_ZONE_NOFREE);
- aiod_timeout = AIOD_TIMEOUT_DEFAULT;
aiod_lifetime = AIOD_LIFETIME_DEFAULT;
jobrefid = 1;
async_io_version = _POSIX_VERSION;
More information about the svn-src-all
mailing list