• Sage Weil's avatar
    ceph: reset requested max_size after mds reconnect · 0dc2570f
    Sage Weil authored
    The max_size increase request to the MDS can get lost during an MDS
    restart and reconnect.  Reset our requested value after the MDS recovers,
    so that any blocked writes will re-request a larger max_size upon waking.
    
    Also, explicit wake session caps after the reconnect.  Normally the cap
    renewal catches this, but not in the cases where the caps didn't go stale
    in the first place, which would leave writers waiting on max_size asleep.
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    0dc2570f
mds_client.c 74.4 KB