2018-05-22 5:51 GMT-07:00 Mark Syms <Mark.Syms@xxxxxxxxxx>: > Should commit 511c54a2f69195b28afb9dd119f03787b1625bb4, (CIFS: Reconnect expired SMB sessions) also be considering STATUS_USER_SESSION_DELETED to be equivalent to STATUS_NETWORK_SESSION_EXPIRED and triggering a reconnect? We're seeing STATUS_USER_SESSION_DELETED occurring in some of our automated testing and it looks like the server has reaped the session due to it being idle for a period of time. > > Thanks, > > Mark. > -- > 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 No. Currently we only reconnect on STATUS_NETWORK_SESSION_EXPIRED error code as a special case. It seems that we should consider making this check more generic by checking for STATUS_USER_SESSION_DELETED and possibly other error codes and reconnect. -- Best regards, Pavel Shilovsky -- 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