]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: introduce fs_cluster_id_t type
authorJohn Spray <john.spray@redhat.com>
Wed, 17 Feb 2016 15:19:10 +0000 (15:19 +0000)
committerJohn Spray <john.spray@redhat.com>
Thu, 10 Mar 2016 11:18:29 +0000 (11:18 +0000)
commitce37bbfe72473a57873d73f90a73e115f15d7c1a
tree6098e224f2da5126ce9a583c2433ac9437dc8316
parent5a32017622fba42947913d7c3760587eeeeb6769
mds: introduce fs_cluster_id_t type

Unique identifier for a filesystem within
the ceph cluster.  Abbreviated to `fscid`,
deliberately chosen to not conflict
with legacy "fsid" identifiers.

Additionally add mds_role_t type which is
a more general form of rank: ranks are
now only unique within a particular fscid.
Roles are a fscid plus a rank.

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