]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
admin_socket: initialize explicitly on startup; disallow changes
authorSage Weil <sage@inktank.com>
Tue, 29 May 2012 18:05:51 +0000 (11:05 -0700)
committerSage Weil <sage@inktank.com>
Tue, 29 May 2012 19:07:07 +0000 (12:07 -0700)
commitab8f6b1b6e18d698cb2967aafc978b68ff78db93
treed604491d271e6866a8cfd4f37b82f8ba746c572a
parent1277a465b1b6c024e1a20ba6f948233c5995eac8
admin_socket: initialize explicitly on startup; disallow changes

There is an annoying dependency between the config lock and the admin
socket lock due to the fact that we initialize (or reinitialize) the socket
via a config observer.

Instead, explicitly initialize on startup.  Do not allow the admin socket
location to be changed at runtime.

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