New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
osd: support pool level recovery_priority and recovery_op_priority #5953
Conversation
@liewegas , per the discussion on the mailing list, we would like to think through the way to manage pool settings, could we track that separately with a code refactor? |
Sure |
@dachary , the failure on ubuntu looks like a false positive? |
@guangyy you are correct.
Please ignore the false negative from the bot on Ubuntu 14.04. |
Thanks @dachary . |
Rebased to resolve the conflicts. @liewegas , could you help to review this one? Thanks! |
@@ -3539,6 +3543,11 @@ bool OSDMonitor::preprocess_command(MonOpRequestRef op) | |||
break; | |||
case DEEP_SCRUB_INTERVAL: | |||
f->dump_int("deep_scrub_interval", p->deep_scrub_interval); | |||
case RECOVERY_PRIORITY: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
break missing before this line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accepted.
Only some minor issues. Needs a rebase too. |
@guangyy this needs rebasing |
Fixes: 13121 Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
Fixes: 13121 Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
Hi @dzafman , |
@@ -674,11 +674,11 @@ COMMAND("osd pool rename " \ | |||
"rename <srcpool> to <destpool>", "osd", "rw", "cli,rest") | |||
COMMAND("osd pool get " \ | |||
"name=pool,type=CephPoolname " \ | |||
"name=var,type=CephChoices,strings=size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hashpspool|nodelete|nopgchange|nosizechange|write_fadvise_dontneed|noscrub|nodeep-scrub|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid|target_max_objects|target_max_bytes|cache_target_dirty_ratio|cache_target_dirty_high_ratio|cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age|erasure_code_profile|min_read_recency_for_promote|all|min_write_recency_for_promote|fast_read|hit_set_grade_decay_rate|hit_set_search_last_n|scrub_min_interval|scrub_max_interval|deep_scrub_interval", \ | |||
"name=var,type=CephChoices,strings=size|min_size|crash_replay_interval|pg_num|pgp_num|crush_ruleset|hashpspool|nodelete|nopgchange|nosizechange|write_fadvise_dontneed|noscrub|nodeep-scrub|hit_set_type|hit_set_period|hit_set_count|hit_set_fpp|auid|target_max_objects|target_max_bytes|cache_target_dirty_ratio|cache_target_dirty_high_ratio|cache_target_full_ratio|cache_min_flush_age|cache_min_evict_age|erasure_code_profile|min_read_recency_for_promote|all|min_write_recency_for_promote|fast_read|hit_set_grade_decay_rate|hit_set_search_last_n|scrub_min_interval|scrub_max_interval|deep_scrub_interval|recovery_priority|recovery_op_priorit", \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
recovery_op_priorit missing "y"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, sorry missing it.
One of my review comments caused the Jenkins failure. We should have a functional test case. |
…commands Fixes: 13121 Signed-off-by: Guang Yang yguang@yahoo-inc.com
…ttings. Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
osd: support pool level recovery_priority and recovery_op_priority Reviewed-by: David Zafman <dzafman@redhat.com>
Fixes: 13121
Signed-off-by: Guang Yang yguang@yahoo-inc.com