]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add trivial cephfs-tool bench test 67032/head
authorPatrick Donnelly <pdonnell@ibm.com>
Tue, 14 Apr 2026 12:57:33 +0000 (08:57 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Tue, 14 Apr 2026 12:57:33 +0000 (08:57 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
19 files changed:
qa/suites/fs/tool/% [new file with mode: 0644]
qa/suites/fs/tool/.qa [new symlink]
qa/suites/fs/tool/begin [new symlink]
qa/suites/fs/tool/clusters/.qa [new symlink]
qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml [new symlink]
qa/suites/fs/tool/conf [new symlink]
qa/suites/fs/tool/distro [new symlink]
qa/suites/fs/tool/mount/.qa [new symlink]
qa/suites/fs/tool/mount/fuse.yaml [new symlink]
qa/suites/fs/tool/objectstore/.qa [new symlink]
qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml [new symlink]
qa/suites/fs/tool/overrides/+ [new file with mode: 0644]
qa/suites/fs/tool/overrides/.qa [new symlink]
qa/suites/fs/tool/overrides/ignorelist_health.yaml [new symlink]
qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml [new symlink]
qa/suites/fs/tool/overrides/no_client_pidfile.yaml [new symlink]
qa/suites/fs/tool/overrides/pg_health.yaml [new symlink]
qa/suites/fs/tool/tasks/.qa [new symlink]
qa/suites/fs/tool/tasks/tool.yaml [new file with mode: 0644]

diff --git a/qa/suites/fs/tool/% b/qa/suites/fs/tool/%
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/tool/.qa b/qa/suites/fs/tool/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/begin b/qa/suites/fs/tool/begin
new file mode 120000 (symlink)
index 0000000..77af91f
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/begin/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/clusters/.qa b/qa/suites/fs/tool/clusters/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml b/qa/suites/fs/tool/clusters/1-mds-1-client-coloc.yaml
new file mode 120000 (symlink)
index 0000000..d15ecfd
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/clusters/1-mds-1-client-coloc.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/conf b/qa/suites/fs/tool/conf
new file mode 120000 (symlink)
index 0000000..16e8cc4
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/conf
\ No newline at end of file
diff --git a/qa/suites/fs/tool/distro b/qa/suites/fs/tool/distro
new file mode 120000 (symlink)
index 0000000..23d9e9b
--- /dev/null
@@ -0,0 +1 @@
+.qa/distros/supported
\ No newline at end of file
diff --git a/qa/suites/fs/tool/mount/.qa b/qa/suites/fs/tool/mount/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/mount/fuse.yaml b/qa/suites/fs/tool/mount/fuse.yaml
new file mode 120000 (symlink)
index 0000000..0e55da9
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/mount/fuse.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/objectstore/.qa b/qa/suites/fs/tool/objectstore/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml b/qa/suites/fs/tool/objectstore/bluestore-bitmap.yaml
new file mode 120000 (symlink)
index 0000000..a59cf51
--- /dev/null
@@ -0,0 +1 @@
+.qa/objectstore/bluestore-bitmap.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/overrides/+ b/qa/suites/fs/tool/overrides/+
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/tool/overrides/.qa b/qa/suites/fs/tool/overrides/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/overrides/ignorelist_health.yaml b/qa/suites/fs/tool/overrides/ignorelist_health.yaml
new file mode 120000 (symlink)
index 0000000..5cb891a
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/overrides/ignorelist_health.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml b/qa/suites/fs/tool/overrides/ignorelist_wrongly_marked_down.yaml
new file mode 120000 (symlink)
index 0000000..f317cb7
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/overrides/ignorelist_wrongly_marked_down.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/overrides/no_client_pidfile.yaml b/qa/suites/fs/tool/overrides/no_client_pidfile.yaml
new file mode 120000 (symlink)
index 0000000..8888f33
--- /dev/null
@@ -0,0 +1 @@
+.qa/overrides/no_client_pidfile.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/overrides/pg_health.yaml b/qa/suites/fs/tool/overrides/pg_health.yaml
new file mode 120000 (symlink)
index 0000000..5b6be3a
--- /dev/null
@@ -0,0 +1 @@
+.qa/cephfs/overrides/pg_health.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/tool/tasks/.qa b/qa/suites/fs/tool/tasks/.qa
new file mode 120000 (symlink)
index 0000000..a602a03
--- /dev/null
@@ -0,0 +1 @@
+../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/tool/tasks/tool.yaml b/qa/suites/fs/tool/tasks/tool.yaml
new file mode 100644 (file)
index 0000000..e4c5200
--- /dev/null
@@ -0,0 +1,7 @@
+tasks:
+  - exec:
+      client.0:
+        - cephfs-tool -i 0 bench --dir-prefix test1 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=1 --iterations 3
+        - cephfs-tool -i 0 bench --dir-prefix test2 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=16 --iterations 3
+        - cephfs-tool -i 0 bench --dir-prefix test1 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=1 --iterations 3 --per-thread-mount
+        - cephfs-tool -i 0 bench --dir-prefix test2 --files 256 --size=$(( 128 * 2 ** 20 )) --threads=16 --iterations 3 --per-thread-mount