mirror of https://github.com/mkerrisk/man-pages
sync.2: Minor tweaks to Jeff Layton's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7b9af2eb80
commit
4e375ad273
11
man2/sync.2
11
man2/sync.2
|
@ -138,11 +138,16 @@ provide the same guarantees as fsync called on every file in
|
|||
the system or filesystem respectively.
|
||||
.PP
|
||||
In mainline kernel versions prior to 5.8,
|
||||
.BR syncfs ()
|
||||
will fail only when passed a bad file descriptor
|
||||
.RB ( EBADF ).
|
||||
Since Linux 5.8,
|
||||
.\" commit 735e4ae5ba28c886d249ad04d3c8cc097dad6336
|
||||
.BR syncfs ()
|
||||
will only fail when passed a bad file descriptor (EBADF). In 5.8
|
||||
and later kernels, it will also report an error if one or more inodes failed
|
||||
to be written back since the last syncfs call.
|
||||
will also report an error if one or more inodes failed
|
||||
to be written back since the last
|
||||
.BR syncfs ()
|
||||
call.
|
||||
.SH BUGS
|
||||
Before version 1.3.20 Linux did not wait for I/O to complete
|
||||
before returning.
|
||||
|
|
Loading…
Reference in New Issue