---------- Forwarded message ---------- From: Steve French <smfrench@xxxxxxxxx> Date: Tue, Dec 13, 2016 at 11:20 AM Subject: Re: Access samba share which underlying storage is very slow To: "Wang, Zhiye" <Zhiye.Wang@xxxxxxxxxxxx> Cc: "linux-cifs@xxxxxxxxxxxxxxx" <linux-cifs@xxxxxxxxxxxxxxx> there is a "hard" mount option and the "echo" timeout can be adjusted on mount On Tue, Dec 13, 2016 at 7:35 AM, Wang, Zhiye <Zhiye.Wang@xxxxxxxxxxxx> wrote: > > Dear all, > > I use Samba to share FUSE based file system which underlying storage is very slow sometimes (not always). Read/Write/Open sometimes may take several minutes. And especially, "write" must be in sequential manner. And "write to file" cannot break in the middle of a file (much like tape). > > All that are ok for Samba, but it seems to be a problem for CIFS on client side. It seems operations timeout are all hardcoded, and cannot be adjusted during mount. After timeout, CIFS client will reconnect and then resume "write" from where is broken (but this is not acceptable for my case). > > Is there a way to make CIFS client block at slow operations without timeout? > > > Thanks > Mike > > -- Thanks, Steve -- Thanks, Steve -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html