diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-11-16 04:22:55 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-11-16 04:22:55 +0000 |
| commit | c844abc920e5abfe04bf5e008f98a4250816e1c7 (patch) | |
| tree | 20176d57496d5f37e7c312fa6d23ed0668712e6c /sys | |
| parent | ed913cabfe2ef356c9cef07bf24101153ba2f597 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/vfs_aio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c index a080774f07d6d..706e36e21be66 100644 --- a/sys/kern/vfs_aio.c +++ b/sys/kern/vfs_aio.c @@ -47,6 +47,7 @@ #include <sys/conf.h> #include <sys/event.h> +#include <posix4/posix4.h> #include <vm/vm.h> #include <vm/vm_extern.h> #include <vm/pmap.h> @@ -350,6 +351,7 @@ aio_onceonly(void) aiod_lifetime = AIOD_LIFETIME_DEFAULT; jobrefid = 1; async_io_version = _POSIX_VERSION; + p31b_setcfg(CTL_P1003_1B_AIO_LISTIO_MAX, AIO_LISTIO_MAX); } /* @@ -372,6 +374,7 @@ aio_unload(void) rm_at_exit(aio_proc_rundown); rm_at_exec(aio_proc_rundown); kqueue_del_filteropts(EVFILT_AIO); + p31b_setcfg(CTL_P1003_1B_AIO_LISTIO_MAX, 0); return (0); } |
