commit | 735a72ef952d42a256f79ae3e6dc1c17a45c041b | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Wed Jun 27 12:24:34 2012 -0700 |
committer | Sage Weil <sage@inktank.com> | Thu Jul 05 21:14:38 2012 -0700 |
tree | d092494049943c94f2e6711943b95e5b4fe10981 | |
parent | b7a9e5dd40f17a48a72f249b8bbc989b63bae5fd [diff] |
libceph: initialize mon_client con only once Do not re-initialize the con on every connection attempt. When we ceph_con_close, there may still be work queued on the socket (e.g., to close it), and re-initializing will clobber the work_struct state. Signed-off-by: Sage Weil <sage@inktank.com>