lkml.org 
[lkml]   [2001]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: possible to do non-blocking write to NFS?
Date

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

see the mount options for nfs
under the mount and nfs man pages

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

no it would not

James


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

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.126 / U:2.656 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site