Commit Graph

3 Commits

Author SHA1 Message Date
Patrick Donnelly
dc165e632a
cephfs: test fragment size limit
The fragment configuration uses 10000 for the fragment max size. The reason for
this is that many tests add 1000 files to a single directory which will hit
this limit without fragmentation catching up.

The test_dirfrag_limit test confirms:

o That the directory fragment size cannot exceed mds_bal_fragment_size_max (using a limit of 50 in all configurations).
o That fragmentation (forced) will allow more entries to be created.
o That unlink fails when the stray directory fragment becomes too large and that unlinking may continue once those strays are purged.

Tests: https://github.com/ceph/ceph/pull/9789
Issue: http://tracker.ceph.com/issues/16164

Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
2016-06-29 11:20:26 -04:00
Sage Weil
98e683a327 fs: fix two frag_enable fragments
Badly formatted yaml

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-25 16:06:15 -04:00
John Spray
c2031ad777 suites/fs: enable directory fragmentation
Setting this in tests globally as a precursor
to enabling it by default in the shipping code.
Set a low mds bal split size in order to make
us hit the fragmentation code more often in
than we usually would in a single MDS environment.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-13 13:25:53 +01:00