diff options
author | Samuel Just <sam.just@inktank.com> | 2013-08-15 15:35:26 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2013-08-15 15:35:26 -0700 |
commit | 56221d86cead9896892deecfc86d125d1ee0e4bb (patch) | |
tree | 61c9e82d6d78276fa754eadda439245e28e5ebd5 /src/common/config_opts.h | |
parent | e7836e6e7ddb5f78db4bab2ab94a566b317bdbfb (diff) | |
download | ceph-wip-5985.tar.gz |
ReplicatedPG: add osd_recover_clone_overlap_limit to limit cloneswip-5985
We don't want to clone_range from clones too many times.
For now, just skip the cloning if there are too many holes.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/common/config_opts.h')
-rw-r--r-- | src/common/config_opts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 52458c268c8..52fc416766b 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -403,6 +403,11 @@ OPTION(osd_op_pq_min_cost, OPT_U64, 65536) OPTION(osd_disk_threads, OPT_INT, 1) OPTION(osd_recovery_threads, OPT_INT, 1) OPTION(osd_recover_clone_overlap, OPT_BOOL, true) // preserve clone_overlap during recovery/migration + +// Only use clone_overlap for recovery if there are fewer than +// osd_recover_clone_overlap_limit entries in the overlap set +OPTION(osd_recover_clone_overlap_limit, OPT_INT, 10) + OPTION(osd_backfill_scan_min, OPT_INT, 64) OPTION(osd_backfill_scan_max, OPT_INT, 512) OPTION(osd_op_thread_timeout, OPT_INT, 15) |