]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: use int64_t for pool id in PGPool
authorSamuel Just <sam.just@inktank.com>
Thu, 28 Mar 2013 21:01:45 +0000 (14:01 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 28 Mar 2013 21:01:45 +0000 (14:01 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PG.h

index 658eb2d0ac932b9e3696235f65e0075f1ec3652c..95f71ae77443ea5da92c360720bdd8b97b224c8a 100644 (file)
@@ -116,7 +116,7 @@ struct PGRecoveryStats {
 };
 
 struct PGPool {
-  int id;
+  int64_t id;
   string name;
   uint64_t auid;
 
@@ -126,7 +126,7 @@ struct PGPool {
   interval_set<snapid_t> cached_removed_snaps;      // current removed_snaps set
   interval_set<snapid_t> newly_removed_snaps;  // newly removed in the last epoch
 
-  PGPool(int i, const char *_name, uint64_t au) :
+  PGPool(int64_t i, const char *_name, uint64_t au) :
     id(i), auid(au) {
     if (_name)
       name = _name;