Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 083a51fb authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: bump CEPH_PG_MAX_SIZE to 32



... to accommodate potentially very wide EC pools.  This increases the
size of a typical rbd ceph_osd_request by ~12% (from 1040 to 1168 bytes),
but I'd rather go future proof here.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
Reviewed-by: default avatarSage Weil <sage@redhat.com>
parent ef9324bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@ struct ceph_timespec {
#define CEPH_PG_LAYOUT_LINEAR 2
#define CEPH_PG_LAYOUT_LINEAR 2
#define CEPH_PG_LAYOUT_HYBRID 3
#define CEPH_PG_LAYOUT_HYBRID 3


#define CEPH_PG_MAX_SIZE      16  /* max # osds in a single pg */
#define CEPH_PG_MAX_SIZE      32  /* max # osds in a single pg */


/*
/*
 * placement group.
 * placement group.