]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: instantiate MetaSession for opening connections
authorSage Weil <sage@inktank.com>
Fri, 8 Mar 2013 20:56:54 +0000 (12:56 -0800)
committerSage Weil <sage@inktank.com>
Wed, 13 Mar 2013 23:36:56 +0000 (16:36 -0700)
commite47d4906845ef35a657702177963989b75907b0d
tree5b2d34ecc561384f4d0ed316f43109840beda89f
parent5f2efe62f385ddb82f1098d012371c21d334ea83
client: instantiate MetaSession for opening connections

The previous kludge where a waiting_for_session key indicated that we
had an open in progress was... kludgey.

Introduce some helpers to do the session creation/open.

Move the waiting list to be a session member, and clean up associated
code.

Signed-off-by: Sage Weil <sage@inktank.com>
src/client/Client.cc
src/client/Client.h
src/client/MetaSession.cc
src/client/MetaSession.h