]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: add CEPH_PG_MAX_SIZE to header
authorSage Weil <sage@newdream.net>
Wed, 12 May 2010 21:42:24 +0000 (14:42 -0700)
committerSage Weil <sage@newdream.net>
Wed, 12 May 2010 23:06:56 +0000 (16:06 -0700)
src/include/rados.h

index bb8246993e41205506cec904cae4287089038b5b..8fcc023056c7642787f33b1aeb35c93ce26492b0 100644 (file)
@@ -58,6 +58,7 @@ struct ceph_timespec {
 #define CEPH_PG_LAYOUT_LINEAR 2
 #define CEPH_PG_LAYOUT_HYBRID 3
 
+#define CEPH_PG_MAX_SIZE      16  /* max # osds in a single pg */
 
 /*
  * placement group.