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

jewel: mds: enforce a dirfrag limit on entries #10104

Merged
1 commit merged into from Aug 23, 2016

Conversation

xiaoxichen
Copy link
Contributor

@xiaoxichen xiaoxichen self-assigned this Jul 2, 2016
@xiaoxichen xiaoxichen added this to the infernalis milestone Jul 2, 2016
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)
@ghost
Copy link

ghost commented Aug 8, 2016

@xiaoxichen I'm setting milestone jewel since this is targeting jewel really. If that's a mistake please let me know.

@ghost ghost modified the milestones: jewel, infernalis Aug 8, 2016
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>
@ghost ghost assigned jcsp Aug 16, 2016
@ghost
Copy link

ghost commented Aug 16, 2016

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

This looks okay to me on a skim but hopefully Patrick can sign-off on this since John's on vacation another week.

@gregsfortytwo
Copy link
Member

@batrick ^

@batrick
Copy link
Member

batrick commented Aug 23, 2016

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>

@ghost ghost merged commit 6f287bf into ceph:jewel Aug 23, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants