]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: refactor MDS boot
authorJohn Spray <john.spray@redhat.com>
Mon, 21 Jul 2014 17:50:07 +0000 (18:50 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 29 Jul 2014 21:32:18 +0000 (22:32 +0100)
commit6b004f19da8f16febb0c4ce34969e474e258bba1
tree3e19d64b9bc00276a7c472c8d41468df73189395
parent6832ec041a3203671f9c671aa7544fd417f32a61
mds: refactor MDS boot

* Make boot_start private.
* Define boot stages in enum, replace int with type.
* Merge steps 0 and 1, 0 always fell through to 1.
* starting_done was only ever reached by a fall through
  from the previous step, so call it directly from there.

Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDS.cc
src/mds/MDS.h