]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: refactor availability check 6253/head
authorJohn Spray <john.spray@redhat.com>
Tue, 3 Nov 2015 12:56:47 +0000 (12:56 +0000)
committerJohn Spray <john.spray@redhat.com>
Tue, 3 Nov 2015 12:56:47 +0000 (12:56 +0000)
commita77bfd09eff6bc2bf159bee644fb41a737f42973
treef1c218b5e2a63179f6c2010a76aaaa86ed24c7ce
parent8f0d7967b93f38d1d1d5ef8255861b589f9250fb
mds: refactor availability check

...to give a clean three-way state instead of
relying on caller to check stuck availability
first and then whether any are active.

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