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

mimic: mds: disallow dumping huge caches to formatter #25642

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

vshankar
Copy link
Contributor

@vshankar vshankar added the cephfs Ceph File System label Dec 20, 2018
@vshankar vshankar added this to the mimic milestone Dec 20, 2018
@smithfarm
Copy link
Contributor

@vshankar Please rebase?

@vshankar
Copy link
Contributor Author

@vshankar Please rebase?

will do.

Dumping huge caches (~ 1G) to formatter causes mds to
hang or get terminated. Until the underlying issues is
fixed, disallow dumping cache if cache usage exceeds this
threshold. Also, Patrick feels a similar issue might be
hiding there for cache dumps to file when cache sizes
are really huge. This case has not been been reproduced
yet, hence, the limit for cache dumps to file is currently
kept not capped.

Fixes: http://tracker.ceph.com/issues/37609
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 6be2ce9)

 Conflicts:
	src/common/options.cc
	src/mds/MDCache.cc

Minor fix for fetching config option with g_conf.
@vshankar
Copy link
Contributor Author

@smithfarm rebased and updated

@yuriw
Copy link
Contributor

yuriw commented Jan 25, 2019

@vshankar
Copy link
Contributor Author

Reviewed-by: Venky Shankar vshankar@redhat.com

Copy link
Contributor

@yuriw yuriw left a comment

Choose a reason for hiding this comment

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

Reviewed-by:  Venky Shankar vshankar@redhat.com

@yuriw yuriw merged commit f25113f into ceph:mimic Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants