]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/ceph_context: count crypto/shutdown cycles
authorSage Weil <sage@redhat.com>
Thu, 4 Jan 2018 20:55:30 +0000 (14:55 -0600)
committerSage Weil <sage@redhat.com>
Tue, 6 Mar 2018 20:44:48 +0000 (14:44 -0600)
commitc9f1fb841c8604a256e1f9250ff494e6ee12453a
treef6641766418f9c5dd55bae2805ad79c9375de2c2
parent4c7e382a47cb8faeb39dd6b87a57a92383bcf4a8
common/ceph_context: count crypto/shutdown cycles

We need to allow crypto to be set up and torn down before a fork.  Count
the init/shutdown cycles to make that safe.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/ceph_context.cc
src/common/ceph_context.h