• Shyam Prasad N's avatar
    cifs: periodically query network interfaces from server · 6e1c1c08
    Shyam Prasad N authored
    Currently, we only query the server for network interfaces
    information at the time of mount, and never afterwards.
    This can be a problem, especially for services like Azure,
    where the IP address of the channel endpoints can change
    over time.
    
    With this change, we schedule a 600s polling of this info
    from the server for each tree connect.
    
    An alternative for periodic polling was to do this only at
    the time of reconnect. But this could delay the reconnect
    time slightly. Also, there are some challenges w.r.t how
    we have cifs_reconnect implemented today.
    Signed-off-by: default avatarShyam Prasad N <sprasad@microsoft.com>
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    6e1c1c08
cifsproto.h 29.5 KB