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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Dec 04 2001 - 04:30:04 EST


> 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/



This archive was generated by hypermail 2b29 : Fri Dec 07 2001 - 21:00:23 EST