Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2000 00:02:45 +0200 (CEST)
From:      Alexander Langer <alex@cichlids.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/18627: add description for waitfor in VFS_SYNC(9)
Message-ID:  <200005172202.AAA29035@cichlids.cichlids.com>

next in thread | raw e-mail | index | archive | help

>Number:         18627
>Category:       docs
>Synopsis:       add description for waitfor in VFS_SYNC(9)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 17 15:10:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Langer
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
none
>Environment:


>Description:

Readthing VFS_SYNC, I asked: Hmm, is the waitfor flag a boolean or what?
I took a look into the source and found out: NO, there are three possible
values. This adds the description.

>How-To-Repeat:


>Fix:

Index: VFS_SYNC.9
===================================================================
RCS file: /usr/home/ncvs/src/share/man/man9/VFS_SYNC.9,v
retrieving revision 1.6
diff -u -r1.6 VFS_SYNC.9
--- VFS_SYNC.9	1999/08/28 00:21:09	1.6
+++ VFS_SYNC.9	2000/05/17 21:59:31
@@ -48,7 +48,16 @@
 .It Ar mp
 The filesystem.
 .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 Va MNT_WAIT
+synchronously wait for I/O to complete
+.It Va MNT_NOWAIT
+start all I/O, but do not wait for it
+.It Va MNT_LAZY
+push data not written by filesystem syncer
+.El
 .It Ar cred
 The caller's credentials.
 .It Ar p

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005172202.AAA29035>