diff options
| author | NeilBrown <neilb@suse.com> | 2017-12-13 15:19:14 +1100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-12-19 06:41:43 +0100 |
| commit | 11cf58cda7758b82f895f5445a6ea9c888326410 (patch) | |
| tree | 1a87e1e29ade3f031ad009e92e5b5d8726eea834 /man2/write.2 | |
| parent | db4e8e25b4712be4cd131cbabd3a687ea37ff8ba (diff) | |
| download | man-pages-11cf58cda7758b82f895f5445a6ea9c888326410.tar.gz | |
fcntl.2, read.2, write.2: Document "Lost locks" as cause for EIO.
If an advisory lock is lost, then read/write requests on any
affected file descriptor can return EIO - for NFSv4 at least.
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/write.2')
| -rw-r--r-- | man2/write.2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man2/write.2 b/man2/write.2 index 796cae8ba2..621a484dc3 100644 --- a/man2/write.2 +++ b/man2/write.2 @@ -197,6 +197,15 @@ be reported by a subsequent (whether or not they were also reported by .BR write (2)). .\" commit 088737f44bbf6378745f5b57b035e57ee3dc4750 +An alternate cause of +.B EIO +on networked filesystems is when an advisory lock had been taken out +on the file descriptor and this lock has been lost. +See the +.I "Lost locks" +section of +.BR fcntl (2) +for further details. .TP .B ENOSPC The device containing the file referred to by |
