https://bugzilla.samba.org/show_bug.cgi?id=15136 Bug ID: 15136 Summary: Access to cifs gets stuck for a while (>20s) after disconnecting from network Product: CifsVFS Version: 4.x Hardware: All OS: Linux Status: NEW Severity: normal Priority: P5 Component: kernel fs Assignee: sfrench@xxxxxxxxx Reporter: wangrong@xxxxxxxxxxxxx QA Contact: cifs-qa@xxxxxxxxx Target Milestone: --- Created attachment 17460 --> https://bugzilla.samba.org/attachment.cgi?id=17460&action=edit patch for code update After the network is interrupted, a new SMB request will wait for a fixed 10 seconds for network reconnection before sending, and return an error if it times out. Because 10 seconds is too long and there are operation retries, system calls (such as stat) take a long time (greater than 20 seconds), which makes application respond slowly. Here, the duration of waiting for network reconnection is exposed to the user space through the mount option, which is convenient for users and applications to set according to the actual situation. -- You are receiving this mail because: You are the QA Contact for the bug.