From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: root@chaos.analogic.com
Cc: "martin.knoblauch " <"martin.knoblauch "@mscsoftware.com>,
Linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: nfs_statfs: statfs error = 116
Date: Thu, 13 Nov 2003 12:03:41 -0500 [thread overview]
Message-ID: <16307.47469.866755.639462@charged.uio.no> (raw)
In-Reply-To: <Pine.LNX.4.53.0311131052260.31147@chaos>
>>>>> " " == Richard B Johnson <root@chaos.analogic.com> writes:
>> ERESTARTSYS actually just means that a signal was received
>> while inside a system call. If this results in a interruption
>> of that syscall, the kernel is supposed to translate
>> ERESTARTSYS into the user error EINTR.
> Hmmm, Maybe I'm getting confused by all the winning-lottery
> messages, but it's in the syscall specifications for connect()
> and even
> fcntl(). http:/www.infran.ru/Techinfo/syscalls/syscalls_43.html
AFAICS that documentation was written in 1994, and refers to Linux
v1.0. We've come a long way since then...
Todays Linux userland is supposed to try to comply with the Single
Unix Specification (see http://www.unix-systems.org/version3/)
whenever possible. ERESTARTSYS is missing altogether from the SUSv3
definitions in <errno.h> (and hence does not appear as a valid return
value for any SUSv3-compliant functions).
Note: the Linux manpages do list ERESTARTSYS as still being returned
by the accept() and syslog() system call. In both those cases,
however, they point out that your libc is supposed to intercept it
before it gets to the user.
> Also, maybe Linux now claims exclusive ownership and keeps it
> internal, but some networking software, nfsd and pcnfsd, might
> not know about that. I've seen ERESTARTSYS returned from a DOS
> (actually FAT) file-handle use after a server has crashed and
> come back on-line.
Linux used to be buggy/non-compliant w.r.t. NFS exporting of FAT
filesystems. I'm not sure if that has been fixed yet.
Cheers,
Trond
prev parent reply other threads:[~2003-11-13 17:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-13 14:15 martin.knoblauch
2003-11-13 14:39 ` Richard B. Johnson
2003-11-13 14:52 ` Martin.Knoblauch
2003-11-13 20:26 ` Jesse Pollard
2003-11-13 20:34 ` Trond Myklebust
2003-11-14 8:43 ` Martin.Knoblauch
2003-11-14 13:49 ` Trond Myklebust
2003-11-14 14:22 ` Martin.Knoblauch
2003-11-13 15:27 ` Trond Myklebust
2003-11-13 16:00 ` Richard B. Johnson
2003-11-13 17:03 ` Trond Myklebust [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16307.47469.866755.639462@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc="martin.knoblauch "@mscsoftware.com \
--cc=linux-kernel@vger.kernel.org \
--cc=root@chaos.analogic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®