diff options
| author | Ilya Dryomov <idryomov@gmail.com> | 2017-06-15 10:30:54 -0400 |
|---|---|---|
| committer | Ilya Dryomov <idryomov@gmail.com> | 2017-07-07 11:25:16 -0400 |
| commit | 7de030d6b10a56e991312a978ace6be3c090097c (patch) | |
| tree | 216a8491662a79544bf10879b8d6eb0d9b6f3be4 /include/linux | |
| parent | 84ed45df4604ae9b1065b5fe2f250f57f7c69baf (diff) | |
libceph: resend on PG splits if OSD has RESEND_ON_SPLIT
Note that ceph_osd_request_target fields are updated regardless of
RESEND_ON_SPLIT.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ceph/osdmap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h index 66447fc7f334..63fb073a3355 100644 --- a/include/linux/ceph/osdmap.h +++ b/include/linux/ceph/osdmap.h | |||
| @@ -249,6 +249,8 @@ static inline void ceph_osds_init(struct ceph_osds *set) | |||
| 249 | 249 | ||
| 250 | void ceph_osds_copy(struct ceph_osds *dest, const struct ceph_osds *src); | 250 | void ceph_osds_copy(struct ceph_osds *dest, const struct ceph_osds *src); |
| 251 | 251 | ||
| 252 | bool ceph_pg_is_split(const struct ceph_pg *pgid, u32 old_pg_num, | ||
| 253 | u32 new_pg_num); | ||
| 252 | bool ceph_is_new_interval(const struct ceph_osds *old_acting, | 254 | bool ceph_is_new_interval(const struct ceph_osds *old_acting, |
| 253 | const struct ceph_osds *new_acting, | 255 | const struct ceph_osds *new_acting, |
| 254 | const struct ceph_osds *old_up, | 256 | const struct ceph_osds *old_up, |
