• Alex Elder's avatar
    rbd: let con_work() handle backoff · 8618e30b
    Alex Elder authored
    Both ceph_fault() and con_work() include handling for imposing a
    delay before doing further processing on a faulted connection.
    The latter is used only if ceph_fault() is unable to.
    
    Instead, just let con_work() always be responsible for implementing
    the delay.  After setting up the delay value, set the BACKOFF flag
    on the connection unconditionally and call queue_con() to ensure
    con_work() will get called to handle it.
    Signed-off-by: default avatarAlex Elder <elder@inktank.com>
    Reviewed-by: default avatarSage Weil <sage@inktank.com>
    8618e30b
messenger.c 70.4 KB