* Returning error to app on TCP disconnect
@ 2010-06-08 11:36 Shehjar Tikoo
0 siblings, 0 replies; 2+ messages in thread
From: Shehjar Tikoo @ 2010-06-08 11:36 UTC (permalink / raw)
To: linux-nfs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Returning error to app on TCP disconnect
[not found] <5462028.721275998477790.JavaMail.javamailuser@localhost>
@ 2010-06-08 12:02 ` Christopher Hawkins
0 siblings, 0 replies; 2+ messages in thread
From: Christopher Hawkins @ 2010-06-08 12:02 UTC (permalink / raw)
To: Shehjar Tikoo; +Cc: linux-nfs
Hi Shejar, what about the "soft" mount option on the client side, and possibly "intr"? Maybe I am misunderstanding your goal but it sounds like that is what you want.
Chris
----- "Shehjar Tikoo" <shehjart-+FkPdpiNhgJBDgjK7y7TUQ@public.gmane.org> wrote:
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-08 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <5462028.721275998477790.JavaMail.javamailuser@localhost>
2010-06-08 12:02 ` Returning error to app on TCP disconnect Christopher Hawkins
2010-06-08 11:36 Shehjar Tikoo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox