]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add comment explaining MDSMap::max_mds
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 18 Jan 2011 15:56:07 +0000 (07:56 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 18 Jan 2011 15:56:07 +0000 (07:56 -0800)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/mds/MDSMap.h

index 7966b4f42dac28bfc5e7f5fef31a98baf6d942ae..69401cde216359ac4c540397cf971317a8987ed7 100644 (file)
@@ -171,7 +171,8 @@ protected:
    *    @up + @failed = @in.  @in * @stopped = {}.
    */
 
-  uint32_t max_mds;
+  uint32_t max_mds; /* The maximum number of active MDSes. Also, the maximum rank. */
+
   set<int32_t> in;              // currently defined cluster
   map<int32_t,int32_t> inc;     // most recent incarnation.
   set<int32_t> failed, stopped; // which roles are failed or stopped