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

tools: ceph_monstore_tool: add inflate-pgmap command #7097

Merged
merged 1 commit into from Jan 13, 2016

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Jan 4, 2016

this command repeatly add the latest pgmap to the monstore in order
to inflate it. the command helps with the testing of some monstore
related performance issue of monitor

Fixes: #14217
Signed-off-by: Kefu Chai kchai@redhat.com

this command repeatly add the latest pgmap to the monstore in order
to inflate it. the command helps with the testing of some monstore
related performance issue of monitor

Fixes: ceph#14217
Signed-off-by: Kefu Chai <kchai@redhat.com>
ps != pg_stat.end(); ++ps) {
::encode(ps->first, dirty_pgs);
if (!can_be_trimmed) {
ps->second.last_epoch_clean = first;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need one more whitespace here:-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a tab. and per https://github.com/ceph/ceph/blob/master/CodingStyle#L76, we use tab-width = 8, so it's looks fine if your editor understands the command at the first line.

@xiexingguo
Copy link
Member

Understood. Thank you for your guide 👍

liewegas added a commit that referenced this pull request Jan 13, 2016
tools: ceph_monstore_tool: add inflate-pgmap command

Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit 4c0989f into ceph:master Jan 13, 2016
@tchaikov tchaikov deleted the bloat-leveldb-new branch January 13, 2016 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants