]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix pg_interval_t int -> int32_t
authorSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 16:11:53 +0000 (09:11 -0700)
committerSage Weil <sage@inktank.com>
Thu, 26 Jun 2014 16:11:53 +0000 (09:11 -0700)
Still 4 bytes on i386 and x86_64.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/osd_types.h

index d7ed516b7d28cd0643ff149156d6d65de3c57598..010b194cbc39dc10476d773f828a14069739e9ec 100644 (file)
@@ -1691,11 +1691,11 @@ ostream &operator<<(ostream &lhs, const pg_notify_t &notify);
  */
 class OSDMap;
 struct pg_interval_t {
-  vector<int> up, acting;
+  vector<int32_t> up, acting;
   epoch_t first, last;
   bool maybe_went_rw;
-  int primary;
-  int up_primary;
+  int32_t primary;
+  int32_t up_primary;
 
   pg_interval_t()
     : first(0), last(0),