]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
auth: switch to LockPolicy templatized alternatives
authorKefu Chai <kchai@redhat.com>
Wed, 15 Aug 2018 12:31:36 +0000 (20:31 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 16 Aug 2018 09:33:48 +0000 (17:33 +0800)
commit2b2f05fea3df031941f1bb7f2bd6728fc0775282
tree5d3b2a7c1679378da94d7dc15d4b212afbe6a311
parent362e3dbaa4da521a8d3c6ffc977c81a9d0219e5a
auth: switch to LockPolicy templatized alternatives

this change

* is the first step to use std::mutex, etc directly instead our Mutex
  wrappers for better performance. see
  https://trello.com/c/aUSezBRH/365-stdmutex-etc-for-release-builds
* pave the road to lockless auth/ subsystem in seastar.

Signed-off-by: Kefu Chai <kchai@redhat.com>
15 files changed:
src/auth/AuthAuthorizeHandler.h
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/auth/none/AuthNoneClientHandler.h
src/common/shared_cache.hpp
src/mds/MDSDaemon.cc
src/mgr/DaemonServer.cc
src/mon/MonClient.cc
src/mon/MonClient.h
src/mon/Monitor.cc
src/osd/OSD.cc