diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2017-02-09 18:14:52 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2017-02-20 14:16:11 +0300 |
commit | 083a51fbc57ca848ab087692f3cc97898fd88b54 (patch) | |
tree | e3d9c2a37d216e1b4dc99795491b72aca545d1fd /include/linux/ceph/rados.h | |
parent | ef9324bb11357c02a4f0529b806341e5b768d872 (diff) | |
download | linux-083a51fbc57ca848ab087692f3cc97898fd88b54.tar.xz |
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: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'include/linux/ceph/rados.h')
-rw-r--r-- | include/linux/ceph/rados.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ceph/rados.h b/include/linux/ceph/rados.h index 5c0da61cb763..5d0018782d50 100644 --- a/include/linux/ceph/rados.h +++ b/include/linux/ceph/rados.h @@ -50,7 +50,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 */ +#define CEPH_PG_MAX_SIZE 32 /* max # osds in a single pg */ /* * placement group. |