From owner-freebsd-doc Wed May 17 15:15:38 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A63E037C24E for ; Wed, 17 May 2000 15:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA04091; Wed, 17 May 2000 15:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.surf1.de (mail.surf1.de [194.25.165.21]) by hub.freebsd.org (Postfix) with ESMTP id 5ACEE37C084 for ; Wed, 17 May 2000 15:02:45 -0700 (PDT) (envelope-from alex@cichlids.com) Received: from cichlids.com (p3E9D38F7.dip0.t-ipconnect.de [62.157.56.247]) by mail.surf1.de (8.9.3/8.9.3) with ESMTP id AAA07149 for ; Thu, 18 May 2000 00:02:35 +0200 Received: from cichlids.cichlids.com (cichlids.cichlids.com [192.168.0.10]) by cichlids.com (Postfix) with ESMTP id 2D204AC2C for ; Thu, 18 May 2000 00:02:50 +0200 (CEST) Received: (from root@localhost) by cichlids.cichlids.com (8.9.3/8.9.3) id AAA29035; Thu, 18 May 2000 00:02:45 +0200 (CEST) (envelope-from alex) Message-Id: <200005172202.AAA29035@cichlids.cichlids.com> Date: Thu, 18 May 2000 00:02:45 +0200 (CEST) From: Alexander Langer Reply-To: alex@cichlids.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/18627: add description for waitfor in VFS_SYNC(9) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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