]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
auth,common: switch to ceph::mutex, etc
authorKefu Chai <kchai@redhat.com>
Tue, 25 Sep 2018 07:42:25 +0000 (15:42 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 27 Sep 2018 13:34:05 +0000 (21:34 +0800)
commit272afb9bbebfe5b4a46c56e27173680244cac73b
treec60b673fcfad2b5b7ce2f1d9178b4fe327202ae9
parentc45113ba3cffcc8e0076919e95d87a817df45de6
auth,common: switch to ceph::mutex, etc

in this change, along with LockPolicy, src/common/lock_* are completely
removed.

instead of using LockPolicy based template specialization of LockMutex,
etc, it would be simpler if we can just rely on WITH_SEASTAR
preprocessor macro to tell if we are compiling code for crimson or not.
but please bear in mind, we cannot link against the plain libceph-common
in crimson anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
14 files changed:
src/auth/AuthClientHandler.cc
src/auth/AuthClientHandler.h
src/auth/RotatingKeyRing.cc
src/auth/RotatingKeyRing.h
src/auth/cephx/CephxClientHandler.cc
src/auth/cephx/CephxClientHandler.h
src/common/lock_cond.h [deleted file]
src/common/lock_mutex.h [deleted file]
src/common/lock_policy.h [deleted file]
src/common/lock_shared_mutex.h [deleted file]
src/common/lock_shared_ptr.h [deleted file]
src/common/shared_cache.hpp
src/mon/MonClient.cc
src/mon/MonClient.h