*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> vwaitforio (9)              



NAME    [Toc]    [Back]

     vwaitforio - wait for all outstanding asynchronous writes

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/vnode.h>

     vwaitforio(struct vnode *vp, int slpflag, char  *wmesg,  int

DESCRIPTION    [Toc]    [Back]

     The  vwaitforio()  call sleeps until all asynchronous writes
     with the vnode vp finish.  This is used  by  functions  that
need to make
     sure that the writes they initiated have completed.

     The  vwaitforio()  call sleeps at priority PRIBIO + 1 .  The
     wmesg, and slptimeo arguments indicate flags to be passed to

     This function must be called at splbio(9).

     It  may be important to ensure that no other process submits
     writes while a process is waiting for  I/O  on  this  vnode.
     vwaitforio() may never return.

RETURN VALUES    [Toc]    [Back]

     The   vwaitforio()  function  returns  0  on  success.   See
tsleep(9) for possible
 error returns.

SEE ALSO    [Toc]    [Back]

     tsleep(9), vnode(9)

OpenBSD     3.6                        February     26,      2001
[ Back ]
 Similar pages
Name OS Title
aio_cancel FreeBSD cancel an outstanding asynchronous I/O operation (REALTIME)
aio_fsync HP-UX force outstanding asynchronous operations on a file to the synchronized state
aio_suspend IRIX wait for an asynchronous I/O request
glfinishasyncsgix IRIX wait for completion of an asynchronous command
aio_reap HP-UX wait for multiple asynchronous I/O requests
aio_suspend HP-UX wait for an asynchronous I/O operation to complete
ttdt_subcontract_manage HP-UX manage an outstanding request
NSTREVENT HP-UX maximum number of outstanding STREAMS bufcalls
nstrevent HP-UX maximum number of outstanding STREAMS bufcalls
vxfs_max_ra_kbytes HP-UX maximum amount of read-ahead data, in KB, that kernel may have outstanding for a single VxFS file system
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service