[linux-cifs-client] CIFS doesn't cope well with network inter ruptions

Steven French sfrench at us.ibm.com
Wed Apr 20 17:11:16 GMT 2005





a.nielsen at research.uq.edu.au wrote on 04/20/2005 02:25:51 AM:
>
> Out of curiosity, is there an option like NFS' "soft" which causes
> everything to time out after a while?  That way if the server was down
for
> an extended period of time nothing would lock up permanently.
>

Yes - there is a soft mount option for cifs.  It sets the value for
      tcon->retry
Not everywhere in the code (mostly fs/cifs/cifssmb.c probably, but perhaps
fs/cifs/transport.c should check it to) probably checks it that should
check it.

Anyone want to do some experiments and see whether we need to fix up the
code for any particular operations to retry consistent with the hard vs.
soft cifs mount option?


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the linux-cifs-client mailing list