[1701] in linux-net channel archive
Re: EAGAIN in write () on NFS - THANKS
daemon@ATHENA.MIT.EDU (Jacek Zapala)
Fri Jan 26 01:36:35 1996
Date: Thu, 25 Jan 1996 18:04:43 +0100 (MET)
From: Jacek Zapala <zapala@dingo.if.pw.edu.pl>
Reply-To: Jacek Zapala <zapala@dingo.if.pw.edu.pl>
To: linux-net@vger.rutgers.edu
Cc: grant@viking1.ipgis.co.za
In-Reply-To: <199601221411.QAA21204@viking1.ipgis.co.za>
I wrote:
> > I have two computers running linux 1.2.13. One of them is a nfs-server, and
> > the other mounts a filesystem from it. Version of nfs-server is "universal
> > nfs-server 2.0". I have written a program, which writes data on both
> > computers (for security). Filesystem is mounted with "defaults,soft" option,
> > so I can detect situations like break in the wire (IO error in write ()),
> > warn the user and continue the operation writing only on one filesystem.
> > But I have noticed that functions write() or open() return sometimes EAGAIN
> > error (try again).
> >
> > WHAT DOES THAT MEAN ?? What can be a cause of that ?
>
Thanks to all who answered. The answer is (and this is the Alan's answer):
EAGAIN is the same as EIO.
Jacek Zapala