From 4b768a4a2f1fc42357d3b8c5b1c553ad0874793f Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 12 Jun 2000 13:53:04 +0000 Subject: Document possible values for the waitfor arg. PR: 18627, 18628 Reviewed by: asmodai --- share/man/man9/VFS_SYNC.9 | 9 +++++++++ share/man/man9/VOP_FSYNC.9 | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/man/man9/VFS_SYNC.9 b/share/man/man9/VFS_SYNC.9 index b1b0a34..d41baa4 100644 --- a/share/man/man9/VFS_SYNC.9 +++ b/share/man/man9/VFS_SYNC.9 @@ -49,6 +49,15 @@ Its arguments are: The filesystem. .It Ar waitfor Whether the function should wait for I/O to complete. +Possible values are: +.Bl -tag -width MNT_NOWAIT +.It Dv MNT_WAIT +synchronously wait for I/O to complete +.It Dv MNT_NOWAIT +start all I/O, but do not wait for it +.It Dv MNT_LAZY +push data not written by filesystem syncer +.El .It Ar cred The caller's credentials. .It Ar p diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9 index 6c7e2df..3b7f4e4 100644 --- a/share/man/man9/VOP_FSYNC.9 +++ b/share/man/man9/VOP_FSYNC.9 @@ -54,7 +54,16 @@ the vnode of the file .It Ar cred the caller's credentials .It Ar waitfor -whether the function should wait for I/O to complete +whether the function should wait for I/O to complete. +Possible values are: +.Bl -tag -width MNT_NOWAIT +.It Dv MNT_WAIT +synchronously wait for I/O to complete +.It Dv MNT_NOWAIT +start all I/O, but do not wait for it +.It Dv MNT_LAZY +push data not written by filesystem syncer +.El .It Ar p the calling process .El -- cgit v1.1