• Sage Weil's avatar
    ceph: allow connection to be reopened by fault callback · e2663ab6
    Sage Weil authored
    Fix the messenger to allow a ceph_con_open() during the fault callback.
    Previously the work wasn't getting queued on the connection because the
    fault path avoids requeued work (normally spurious).  Loop on reopening by
    checking for the OPENING state bit.
    
    This fixes OSD reconnects when a TCP connection drops.
    Signed-off-by: default avatarSage Weil <sage@newdream.net>
    e2663ab6
messenger.c 56 KB