]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-mon: check fs stats just before preforking 2656/head
authorJoao Eduardo Luis <joao@redhat.com>
Tue, 23 Sep 2014 13:02:55 +0000 (14:02 +0100)
committerSage Weil <sage@redhat.com>
Thu, 16 Oct 2014 00:18:42 +0000 (17:18 -0700)
commit835f8c6f6121f3ebdec3a0d2d5cb1376301dc03a
tree493f1828a1c0db5097f4798f5bc2330b11fcaed0
parent1ddf435464562f70f63cdb0032da3187f34ce853
ceph-mon: check fs stats just before preforking

Otherwise statfs may fail if mkfs hasn't been run yet or if the monitor
data directory does not exist.  There are checks to account for the mon
data dir not existing and we should wait for them to clear before we go
ahead and check the fs stats.

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
(cherry picked from commit 7f71c11666b25e91dd612c58b4eda9ac0d4752f8)

Conflicts:
src/ceph_mon.cc
src/ceph_mon.cc