Re: Returning error to app on TCP disconnect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux