public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Shehjar Tikoo <shehjart-+FkPdpiNhgJBDgjK7y7TUQ@public.gmane.org>
To: linux-nfs@vger.kernel.org
Subject: Returning error to app on TCP disconnect
Date: Tue, 08 Jun 2010 17:06:46 +0530	[thread overview]
Message-ID: <4C0E2B4E.30205@gluster.com> (raw)

Hi all

I am working on a setup where when a nfsv3 server goes down, the dd that 
is running on the NFS mount point, gets an error on any syscall 
performed on that mount point, say a write () to a file on that mount.

I've tried setting the timeo and retrans options at mount but that does 
not seem to work in this case. The how-to on linux-nfs site confirms 
that the nfs client just waits for the server to come back up after 
retrans number of requests.

Is there a way to have the app receive an EIO or any other error on TCP 
disconnect?

Thanks
-Shehjar

             reply	other threads:[~2010-06-08 11:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 11:36 Shehjar Tikoo [this message]
     [not found] <5462028.721275998477790.JavaMail.javamailuser@localhost>
2010-06-08 12:02 ` Returning error to app on TCP disconnect Christopher Hawkins

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=4C0E2B4E.30205@gluster.com \
    --to=shehjart-+fkpdpinhgjbdgjk7y7tuq@public.gmane.org \
    --cc=linux-nfs@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