Hi, Recently, some xfstests and later some manual testing on multi-channel revealed that we detect unresponsive servers on some of the channels to the same server. The issue is seen when a channel is setup and sits idle without any traffic. Generally, we enable echoes and oplocks on a channel during the first request, based on the number of credits available on the channel. So on idle channels, we trip in our logic to check server unresponsiveness. Attached a one-line fix for this. Have tested it in my environment. Another approach to fix this could be to enable echoes during initialization of a server struct. Or soon after the session setup. But I felt that this approach is better. Let me know if you feel otherwise. Please review and comment. -- Regards, Shyam
Attachment:
0001-cifs-detect-dead-connections-only-when-echoes-are-en.patch
Description: Binary data