Skip to content

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

Merged
1 commit merged into
ceph:jewelfrom
xiaoxichen:wip-16560-jewel
Aug 23, 2016
Merged

1 commit merged into
ceph:jewelfrom
xiaoxichen:wip-16560-jewel

Conversation

@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 <[email protected]>
(cherry picked from commit 60af83c)
@ghost

ghost commented Aug 8, 2016

Copy link
Copy Markdown

@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 9, 2016
ghost pushed a commit that referenced this pull request Aug 12, 2016
@ghost ghost assigned jcsp Aug 16, 2016
@ghost

ghost commented Aug 16, 2016

Copy link
Copy Markdown

@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
ghost pushed a commit that referenced this pull request Aug 17, 2016
ghost pushed a commit that referenced this pull request Aug 22, 2016
ghost pushed a commit that referenced this pull request Aug 22, 2016
@gregsfortytwo

Copy link
Copy Markdown
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
Copy Markdown
Member

@batrick ^

@batrick

batrick commented Aug 23, 2016

Copy link
Copy Markdown
Member

Reviewed-by: Patrick Donnelly <[email protected]>

@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

Development

Successfully merging this pull request may close these issues.

4 participants