aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ceph/osdmap.h
diff options
context:
space:
mode:
authorGravatar Ilya Dryomov <idryomov@gmail.com> 2017-07-27 17:59:14 +0200
committerGravatar Ilya Dryomov <idryomov@gmail.com> 2017-08-01 16:46:45 +0200
commitae78dd8139ce93a528beb7f3914531b7a7be9e30 (patch)
tree69c4997dcbd64a8c1912e442a3444325714ce2e6 /include/linux/ceph/osdmap.h
parentlibceph: upmap semantic changes (diff)
downloadlinux-ae78dd8139ce93a528beb7f3914531b7a7be9e30.tar.gz
linux-ae78dd8139ce93a528beb7f3914531b7a7be9e30.tar.bz2
linux-ae78dd8139ce93a528beb7f3914531b7a7be9e30.zip
libceph: make RECOVERY_DELETES feature create a new interval
This is needed so that the OSDs can regenerate the missing set at the start of a new interval where support for recovery deletes changed. Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'include/linux/ceph/osdmap.h')
-rw-r--r--include/linux/ceph/osdmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ceph/osdmap.h b/include/linux/ceph/osdmap.h
index a0996cb9faed..af3444a5bfdd 100644
--- a/include/linux/ceph/osdmap.h
+++ b/include/linux/ceph/osdmap.h
@@ -272,6 +272,8 @@ bool ceph_is_new_interval(const struct ceph_osds *old_acting,
u32 new_pg_num,
bool old_sort_bitwise,
bool new_sort_bitwise,
+ bool old_recovery_deletes,
+ bool new_recovery_deletes,
const struct ceph_pg *pgid);
bool ceph_osds_changed(const struct ceph_osds *old_acting,
const struct ceph_osds *new_acting,