Project

General

Profile

Actions

Bug #16164

closed

mds: enforce a dirfrag limit on entries

Added by Sage Weil almost 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Category:
Performance/Resource Usage
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

- add a new config option to cap the number of entries in a difrag
- set the limit an order of magnitude higher than the fragment tunable that triggers creating new fragments.
- ENOSPC if we hit the limit on mknod, openc, mkdir, symlink, rename, link.

This will prevent users with fragmentation turned off from creating huge omap directories.


Related issues 1 (0 open1 closed)

Copied to CephFS - Backport #16560: jewel: mds: enforce a dirfrag limit on entriesResolvedXiaoxi ChenActions
Actions

Also available in: Atom PDF