mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Christopher Friesen" <cfriesen@nortelnetworks.com>
To: linux-kernel@vger.kernel.org
Subject: possible to do non-blocking write to NFS?
Date: Mon, 03 Dec 2001 11:02:23 -0500	[thread overview]
Message-ID: <3C0BA20F.946E0F1B@nortelnetworks.com> (raw)
In-Reply-To: <200010131722.e9DHMwL17616@pincoya.inf.utfsm.cl> <39EC6F4E.8FC87501@nortelnetworks.com>


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\x13




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

       reply	other threads:[~2001-12-04  0:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200010131722.e9DHMwL17616@pincoya.inf.utfsm.cl>
     [not found] ` <39EC6F4E.8FC87501@nortelnetworks.com>
2001-12-03 16:02   ` Christopher Friesen [this message]
2001-12-04  0:44     ` James Stevenson
2001-12-04  9:30     ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C0BA20F.946E0F1B@nortelnetworks.com \
    --to=cfriesen@nortelnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®