possible to do non-blocking write to NFS?

From: Christopher Friesen (cfriesen@nortelnetworks.com)
Date: Mon Dec 03 2001 - 11:02:23 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.

Would setting the O_NONBLOCK flag on opening the file give me this behaviour?

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
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:21 EST