Skip to content
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

Merged
merged 4 commits into from Aug 1, 2016

Conversation

xiexingguo
Copy link
Member

No description provided.

@xiexingguo
Copy link
Member Author

@athanatos Can you look? Thanks!

OPTION(osd_compression_plugins, OPT_STR,
"zlib"
" snappy"
) // list of compression plugins
OPTION(osd_pool_default_erasure_code_profile,
Copy link
Contributor

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?

Copy link
Contributor

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.

@athanatos
Copy link
Contributor

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>
@xiexingguo
Copy link
Member Author

@athanatos Done and thanks for the review.

@xiexingguo
Copy link
Member Author

retest this please

@yuriw yuriw merged commit 9d811ca into ceph:master Aug 1, 2016
@xiexingguo xiexingguo deleted the xxg-wip-cleanup-options branch August 1, 2016 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants