jewel: mds: enforce a dirfrag limit on entries#10104
Merged
1 commit merged intoceph:jewelfrom Aug 23, 2016
Merged
Conversation
This commit adds a new config option
mds_bal_fragment_size_max = 10000*10
which is an order of magnitude larger than mds_bal_split_size.
This limit prevents a fragment from getting too large which results in large
omap directories.
Right now the limit is enforced only in the RPC paths and in stray directory
entry creation.
Fixes http://tracker.ceph.com/issues/16164
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 60af83c)
e39312f to
d244b7a
Compare
|
@xiaoxichen I'm setting milestone jewel since this is targeting jewel really. If that's a mistake please let me know. |
ghost
pushed a commit
that referenced
this pull request
Aug 8, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost
pushed a commit
that referenced
this pull request
Aug 9, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost
pushed a commit
that referenced
this pull request
Aug 12, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
|
@jcsp does this backport look good to merge ? It passed the fs suite http://tracker.ceph.com/issues/16344#note-21 (except for unrelated valgrind failures and one transient failure that is, I believe, unrelated ). |
ghost
pushed a commit
that referenced
this pull request
Aug 16, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost
pushed a commit
that referenced
this pull request
Aug 17, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost
pushed a commit
that referenced
this pull request
Aug 22, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost
pushed a commit
that referenced
this pull request
Aug 22, 2016
…ries Reviewed-by: Loic Dachary <ldachary@redhat.com>
Member
|
This looks okay to me on a skim but hopefully Patrick can sign-off on this since John's on vacation another week. |
Member
|
@batrick ^ |
Member
|
|
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
http://tracker.ceph.com/issues/16560