]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-mon: check fs stats just before preforking 2557/head
authorJoao Eduardo Luis <joao@redhat.com>
Tue, 23 Sep 2014 13:02:55 +0000 (14:02 +0100)
committerJoao Eduardo Luis <joao@redhat.com>
Tue, 23 Sep 2014 13:05:48 +0000 (14:05 +0100)
commit7f71c11666b25e91dd612c58b4eda9ac0d4752f8
treec451b21c48f53509918b5c8352c0b472e81a57f7
parent9d3fbe92a85a554293a6f60f1b283075ba125f94
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>
src/ceph_mon.cc