mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "James Stevenson" <mail-lists@stev.org>
To: "Christopher Friesen" <cfriesen@nortelnetworks.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: possible to do non-blocking write to NFS?
Date: Tue, 4 Dec 2001 00:44:45 -0000	[thread overview]
Message-ID: <00eb01c17c5c$deda04b0$0801a8c0@Stev.org> (raw)
In-Reply-To: <200010131722.e9DHMwL17616@pincoya.inf.utfsm.cl> <39EC6F4E.8FC87501@nortelnetworks.com> <3C0BA20F.946E0F1B@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.

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



  reply	other threads:[~2001-12-04  0:46 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
2001-12-04  0:44     ` James Stevenson [this message]
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='00eb01c17c5c$deda04b0$0801a8c0@Stev.org' \
    --to=mail-lists@stev.org \
    --cc=cfriesen@nortelnetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mistral@stev.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®