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: cleanup options and other redundancies #10450
Conversation
@athanatos Can you look? Thanks! |
OPTION(osd_compression_plugins, OPT_STR, | ||
"zlib" | ||
" snappy" | ||
) // list of compression plugins | ||
OPTION(osd_pool_default_erasure_code_profile, |
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.
@Ved-vampir Is this ok to remove?
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.
@athanatos Now it isn't used, so, yes.
Once you address those comments, ping me and I'll add needs-qa. |
It is not used anywhere and removing the unnecessary code is always the preferred option. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Because the lock_suspend_timeout() process of PG does the same thing for each loop. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
The is_up() check implicitly coveres the exist() check, so below here the exist() check is not necessary. Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
6109b0c
to
b211257
Compare
@athanatos Done and thanks for the review. |
retest this please |
No description provided.