Re: possible to do non-blocking write to NFS?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 4 Dec 2001 09:30:04 +0000 (GMT)


> Is there any way to write to an NFS-mounted filesystem in a way that will avoid
> all of the NFS retries? Basically I want to try a write, and if the server is
> not accessable I want to return immediately with an error code.

Mount the file system soft. Remember that the error you see may well be on
fsync or close. Also it'll still take some time to decide the other end is
dead not just slow

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/