commit | f20a39fd6e6356b4cf3c1650c4dc6c66c99d8bae | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Tue Feb 19 12:25:57 2013 -0600 |
committer | Alex Elder <elder@inktank.com> | Mon Feb 25 15:37:24 2013 -0600 |
tree | 200084eee31132641d4402a4cf115f4378d5f586 | |
parent | 154171678989950f6c392e126fa8006a145ed1cc [diff] |
libceph: encapsulate connection backoff Collect the code that tests for and implements a backoff delay for a ceph connection into a new function, ceph_backoff(). Make the debug output messages in that part of the code report things consistently by reporting a message in the socket closed case, and by making the one for PREOPEN state report the connection pointer like the rest. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>