Ported from Zheng's #22: 2e283ce6d7
"This can reduce the test time becuase it avoids sending getattr request
whenever the kernel checks inode permission."
This is part of an effort to eliminate unnecessary differences between
multimds and fs suites.
Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
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>
This is one of those things that had a convoluted .yaml file
because it predated the ability to write explicit procedural
python tests.
Signed-off-by: John Spray <john.spray@redhat.com>
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>
We need to change into the directory during the same shell session as we actually
run the dd...
Fixes: #10861
Backport: hammer, giant, firefly, dumpling
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
These package names all differ across distros, and they're included in
teuthology's install task anyway.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
It's been added to the default install task, because the
package name varies across distros.
Fixes: #10510
Signed-off-by: Greg Farnum <greg@gregs42.com>
Change the config option from mds_id to mds_rank to reflect the
fact that it's the rank we want to make use of (and will continue
to want when we're doing stuff like force exporting from one rank
to another).
Fixes: #10361
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Quota script is moved out of fs/misc so that kclient
doesn't try to run it. Update cfuse suite to find
the new location, and only enable quota for this
one script rather than enabling across
all misc tests.
Fixes: #10579
Signed-off-by: John Spray <john.spray@redhat.com>
The tiobench software has been abandoned upstream for years. Fedora and
Debian are no longer shipping the tiobench package, so we've had to
carry the package ourselves in the Ceph project, and we're trying to
slim down our dependencies where it makes sense to do so.
Nuke the tiobench tests.
http://tracker.ceph.com/issues/10152 Refs: #10152
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
We mostly do a variety of successful ones, but we also corrupt the store
using the rados tool and make sure we get the expected error codes. Includes
a yaml fragment so the task gets run as part of the fs/basic suite.
Signed-off-by: Greg Farnum <greg@inktank.com>
This invokes the new mds_creation_failure task from
teuthology, ahead of mounting the FS and running the
trivial_sync workload. It is a regression test
for #7485.
Fixes: #7485
Signed-off-by: John Spray <john.spray@inktank.com>
This is ignored by old teuthology, but used by newer code to tell us when
to generate a product of all directory items.
Signed-off-by: Sage Weil <sage@inktank.com>
Changes to the install teuthology task have caused the
Hadoop tasks to fail. This patch fixes the test specification
to enable it to run correctly.
Signed-off-by: Joe Buck <jbbuck@gmail.com>
We want to apply debugging and whitelists, not one or the
other -- whoops!
This reverts commit cb1e8ed954.
Signed-off-by: Greg Farnum <greg@inktank.com>