View | Details | Raw Unified | Return to bug 110200
Collapse All | Expand All

(-)share/man/man9/VFS_SYNC.9 (-3 / +1 lines)
Lines 39-45 Link Here
39
.In sys/mount.h
39
.In sys/mount.h
40
.In sys/vnode.h
40
.In sys/vnode.h
41
.Ft int
41
.Ft int
42
.Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct ucred *cred" "struct thread *td"
42
.Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct thread *td"
43
.Sh DESCRIPTION
43
.Sh DESCRIPTION
44
The
44
The
45
.Fn VFS_SYNC
45
.Fn VFS_SYNC
Lines 61-68 Link Here
61
.It Dv MNT_LAZY
61
.It Dv MNT_LAZY
62
push data not written by file system syncer
62
push data not written by file system syncer
63
.El
63
.El
64
.It Fa cred
65
The caller's credentials.
66
.It Fa td
64
.It Fa td
67
The calling thread.
65
The calling thread.
68
.El
66
.El
(-)share/man/man9/VOP_FSYNC.9 (-4 / +2 lines)
Lines 38-44 Link Here
38
.In sys/param.h
38
.In sys/param.h
39
.In sys/vnode.h
39
.In sys/vnode.h
40
.Ft int
40
.Ft int
41
.Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct thread *td"
41
.Fn VOP_FSYNC "struct vnode *vp" "int waitfor" "struct thread *td"
42
.Sh DESCRIPTION
42
.Sh DESCRIPTION
43
This call flushes any dirty file system buffers for the file.
43
This call flushes any dirty file system buffers for the file.
44
It is used to implement the
44
It is used to implement the
Lines 51-58 Link Here
51
.Bl -tag -width waitfor
51
.Bl -tag -width waitfor
52
.It Fa vp
52
.It Fa vp
53
The vnode of the file.
53
The vnode of the file.
54
.It Fa cred
55
The caller's credentials.
56
.It Fa waitfor
54
.It Fa waitfor
57
Whether the function should wait for I/O to complete.
55
Whether the function should wait for I/O to complete.
58
Possible values are:
56
Possible values are:
Lines 84-90 Link Here
84
.Sh PSEUDOCODE
82
.Sh PSEUDOCODE
85
.Bd -literal
83
.Bd -literal
86
int
84
int
87
vop_fsync(struct vnode *vp, struct ucred *cred, int waitfor, struct thread *td)
85
vop_fsync(struct vnode *vp, int waitfor, struct thread *td)
88
{
86
{
89
    struct buf *bp;
87
    struct buf *bp;
90
    struct buf *nbp;
88
    struct buf *nbp;

Return to bug 110200