]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
squid: qa/suites/fs: add quiescer to the fs suite
authorLeonid Usov <leonid.usov@ibm.com>
Sat, 23 Mar 2024 15:29:28 +0000 (08:29 -0700)
committerLeonid Usov <leonid.usov@ibm.com>
Tue, 28 May 2024 16:06:19 +0000 (19:06 +0300)
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit d6f8d65423ff2d8167836152dddadce1a94134be)
Fixes: https://tracker.ceph.com/issues/66103
46 files changed:
qa/suites/fs/cephadm/multivolume/2-workload/dbench.yaml
qa/suites/fs/thrash/workloads/tasks/1-thrash/with-quiesce.yaml [new file with mode: 0644]
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/blogbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/dbench.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/fsstress.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/iozone.yaml
qa/suites/fs/upgrade/upgraded_client/tasks/3-workload/stress_tests/kernel_untar_build.yaml
qa/suites/fs/workload/tasks/5-quiesce/.qa [new symlink]
qa/suites/fs/workload/tasks/5-quiesce/no.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/5-quiesce/with-quiesce.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/5-workunit/.qa [deleted symlink]
qa/suites/fs/workload/tasks/5-workunit/direct_io.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/fs/.qa [deleted symlink]
qa/suites/fs/workload/tasks/5-workunit/fs/misc.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/fs/norstats.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/fs/test_o_trunc.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/kernel_untar_build.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/postgres.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/.qa [deleted symlink]
qa/suites/fs/workload/tasks/5-workunit/suites/blogbench.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/ffsb.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/fsstress.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/fsx.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/fsync-tester.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/iogen.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/iozone.yaml [deleted file]
qa/suites/fs/workload/tasks/5-workunit/suites/pjd.yaml [deleted file]
qa/suites/fs/workload/tasks/6-workunit/.qa [new symlink]
qa/suites/fs/workload/tasks/6-workunit/direct_io.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/fs/.qa [new symlink]
qa/suites/fs/workload/tasks/6-workunit/fs/misc.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/fs/norstats.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/fs/test_o_trunc.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/kernel_untar_build.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/postgres.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/.qa [new symlink]
qa/suites/fs/workload/tasks/6-workunit/suites/blogbench.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/ffsb.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/fsstress.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/fsx.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/fsync-tester.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/iogen.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/iozone.yaml [new file with mode: 0644]
qa/suites/fs/workload/tasks/6-workunit/suites/pjd.yaml [new file with mode: 0644]

index 9fb8adcea03ecfd52f397a5923ccdbe67e54309d..a89c9b9cd40fb6538aef1f5cbb8f318001931130 120000 (symlink)
@@ -1 +1 @@
-.qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/thrash/workloads/tasks/1-thrash/with-quiesce.yaml b/qa/suites/fs/thrash/workloads/tasks/1-thrash/with-quiesce.yaml
new file mode 100644 (file)
index 0000000..9fc7bb3
--- /dev/null
@@ -0,0 +1,2 @@
+tasks:
+- quiescer:
index a2f8b3052a9232b37cf62e4e26cf8b14b36c8121..8e15ba14d57580bd5e8da853ebf48c04fc5a7864 120000 (symlink)
@@ -1 +1 @@
-.qa/suites/fs/workload/tasks/5-workunit/suites/blogbench.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/blogbench.yaml
\ No newline at end of file
index 9fb8adcea03ecfd52f397a5923ccdbe67e54309d..a89c9b9cd40fb6538aef1f5cbb8f318001931130 120000 (symlink)
@@ -1 +1 @@
-.qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml
\ No newline at end of file
index dc777f36d33cd750f6be7e0cb7a2180894116d93..8cfdc771da8ba20fb1ff53b9f38748fc39276a03 120000 (symlink)
@@ -1 +1 @@
-.qa/suites/fs/workload/tasks/5-workunit/suites/fsstress.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/fsstress.yaml
\ No newline at end of file
index f4d0ead4f00a71e4ec9481a3926782d17b4ea15b..1aed8d429c9bf684f20f450018e4ec3783beea20 120000 (symlink)
@@ -1 +1 @@
-.qa/suites/fs/workload/tasks/5-workunit/suites/iozone.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/suites/iozone.yaml
\ No newline at end of file
index 317ebf8c42c57b7b461b30029dfc9d9c81645195..8d174275a41ff9688e73ff3cb917bf3b78e4f83d 120000 (symlink)
@@ -1 +1 @@
-.qa/suites/fs/workload/tasks/5-workunit/kernel_untar_build.yaml
\ No newline at end of file
+.qa/suites/fs/workload/tasks/6-workunit/kernel_untar_build.yaml
\ No newline at end of file
diff --git a/qa/suites/fs/workload/tasks/5-quiesce/.qa b/qa/suites/fs/workload/tasks/5-quiesce/.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/workload/tasks/5-quiesce/no.yaml b/qa/suites/fs/workload/tasks/5-quiesce/no.yaml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/qa/suites/fs/workload/tasks/5-quiesce/with-quiesce.yaml b/qa/suites/fs/workload/tasks/5-quiesce/with-quiesce.yaml
new file mode 100644 (file)
index 0000000..9fc7bb3
--- /dev/null
@@ -0,0 +1,2 @@
+tasks:
+- quiescer:
diff --git a/qa/suites/fs/workload/tasks/5-workunit/.qa b/qa/suites/fs/workload/tasks/5-workunit/.qa
deleted file mode 120000 (symlink)
index a602a03..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/workload/tasks/5-workunit/direct_io.yaml b/qa/suites/fs/workload/tasks/5-workunit/direct_io.yaml
deleted file mode 100644 (file)
index 6c6ea14..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-overrides:
-  check-counter:
-    dry_run: true
-tasks:
-- workunit:
-    clients:
-      all:
-        - direct_io
-
diff --git a/qa/suites/fs/workload/tasks/5-workunit/fs/.qa b/qa/suites/fs/workload/tasks/5-workunit/fs/.qa
deleted file mode 120000 (symlink)
index a602a03..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/workload/tasks/5-workunit/fs/misc.yaml b/qa/suites/fs/workload/tasks/5-workunit/fs/misc.yaml
deleted file mode 100644 (file)
index 4a9d0b4..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-overrides:
-  check-counter:
-    counters:
-      mds:
-        - "mds.dir_split"
-tasks:
-- workunit:
-    clients:
-      all:
-        - fs/misc
diff --git a/qa/suites/fs/workload/tasks/5-workunit/fs/norstats.yaml b/qa/suites/fs/workload/tasks/5-workunit/fs/norstats.yaml
deleted file mode 100644 (file)
index d48df54..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-overrides:
-  check-counter:
-    counters:
-      mds:
-        - "mds.dir_split"
-tasks:
-- workunit:
-    clients:
-      all:
-        - fs/norstats
-overrides:
-  kclient:
-    rbytes: false
-  ceph:
-    conf:
-      client:
-        client dirsize rbytes: false
diff --git a/qa/suites/fs/workload/tasks/5-workunit/fs/test_o_trunc.yaml b/qa/suites/fs/workload/tasks/5-workunit/fs/test_o_trunc.yaml
deleted file mode 100644 (file)
index 7b2b7c5..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-overrides:
-  check-counter:
-    dry_run: true
-tasks:
-- workunit:
-    clients:
-      all:
-        - fs/test_o_trunc.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/kernel_untar_build.yaml b/qa/suites/fs/workload/tasks/5-workunit/kernel_untar_build.yaml
deleted file mode 100644 (file)
index 602d341..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-overrides:
-  check-counter:
-    counters:
-      mds:
-        - "mds.dir_split"
-tasks:
-- workunit:
-    clients:
-      all:
-        - kernel_untar_build.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/postgres.yaml b/qa/suites/fs/workload/tasks/5-workunit/postgres.yaml
deleted file mode 100644 (file)
index 7e71dbc..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# I would expect setting the context on the postgresql database directories
-# would correctly trickle down to the files created by the postgresql daemon,
-# but this does not appear to work. I would still see denials like:
-
-#     type=AVC msg=audit(1655861665.521:21354): avc:  denied  { create } for  pid=131994 comm="postmaster" name="replorigin_checkpoint.tmp" scontext=system_u:system_r:postgresql_t:s0 tcontext=system_u:object_r:cephfs_t:s0 tclass=file permissive=1'
-
-# Instead, we'll just set the context for the mount and be done with it. I've
-# left in the context setting for the directories below.
-
-overrides:
-  ceph-fuse:
-    client.0:
-      mountpoint: /tmp/cephfs
-      mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
-  kclient:
-    client.0:
-      mountpoint: /tmp/cephfs
-      mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
-tasks:
-- exec:
-    client.0:
-      - sudo ls -l /tmp/cephfs/ && sudo df -h /tmp/cephfs/
-      - sudo mkdir -m 755 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres && sudo chown postgres:postgres /tmp/cephfs/postgres
-      - sudo -u postgres -- mkdir -m 700 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres/data
-      - sudo semanage fcontext -a -t postgresql_db_t "/tmp/cephfs/postgres(/.*)?"
-      - sudo grep -i postgresql /etc/selinux/targeted/contexts/files/file_contexts.local
-      - sudo restorecon -R -v /tmp/cephfs/postgres
-      - sudo ls -lZaR /tmp/cephfs/postgres/
-      - sudo mkdir -p /etc/systemd/system/postgresql.service.d/ && printf '[Service]\nEnvironment=PGDATA=/tmp/cephfs/postgres/data\nEnvironment=PGLOG=/tmp/cephfs/postgres/pgstartup.log\n' | sudo tee /etc/systemd/system/postgresql.service.d/env.conf
-      - sudo -u postgres -- postgresql-setup --initdb
-      - sudo ls -lZaR /tmp/cephfs/postgres/
-      - sudo systemctl start postgresql
-      - sudo -u postgres -- pgbench -s 32 -i
-      - sudo -u postgres -- pgbench -c 100 -j 4 --progress=5 --time=900
-      - sudo systemctl stop postgresql
-      - sudo ls -lZaR /tmp/cephfs/postgres/
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/.qa b/qa/suites/fs/workload/tasks/5-workunit/suites/.qa
deleted file mode 120000 (symlink)
index a602a03..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../.qa/
\ No newline at end of file
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/blogbench.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/blogbench.yaml
deleted file mode 100644 (file)
index 4c4bf2f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-overrides:
-  check-counter:
-    counters:
-      mds:
-        - "mds.dir_split"
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/blogbench.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/dbench.yaml
deleted file mode 100644 (file)
index 41b2bc8..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/dbench.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/ffsb.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/ffsb.yaml
deleted file mode 100644 (file)
index 9bc925a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-overrides:
-  ceph:
-    log-ignorelist:
-    - SLOW_OPS
-    - slow request
-    conf:
-      osd:
-        filestore flush min: 0
-        osd heartbeat grace: 60
-  check-counter:
-    counters:
-      mds:
-        - "mds.dir_split"
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/ffsb.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/fsstress.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/fsstress.yaml
deleted file mode 100644 (file)
index bae2202..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-tasks:
-- workunit:
-    timeout: 6h
-    clients:
-      all:
-        - suites/fsstress.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/fsx.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/fsx.yaml
deleted file mode 100644 (file)
index 12d456c..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-overrides:
-  check-counter:
-    counters:
-      mds:
-        - "mds.dir_split"
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/fsx.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/fsync-tester.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/fsync-tester.yaml
deleted file mode 100644 (file)
index 9aaf6d0..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-overrides:
-  check-counter:
-    dry_run: true
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/fsync-tester.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/iogen.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/iogen.yaml
deleted file mode 100644 (file)
index b8beb9e..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-overrides:
-  check-counter:
-    dry_run: true
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/iogen.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/iozone.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/iozone.yaml
deleted file mode 100644 (file)
index bf5fd25..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-overrides:
-  check-counter:
-    dry_run: true
-tasks:
-- workunit:
-    clients:
-      all:
-        - suites/iozone.sh
diff --git a/qa/suites/fs/workload/tasks/5-workunit/suites/pjd.yaml b/qa/suites/fs/workload/tasks/5-workunit/suites/pjd.yaml
deleted file mode 100644 (file)
index 37e315f..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-overrides:
-  ceph:
-    conf:
-      client:
-        fuse set user groups: true
-        fuse default permissions: false
-tasks:
-- workunit:
-    timeout: 6h
-    clients:
-      all:
-        - suites/pjd.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/.qa b/qa/suites/fs/workload/tasks/6-workunit/.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/workload/tasks/6-workunit/direct_io.yaml b/qa/suites/fs/workload/tasks/6-workunit/direct_io.yaml
new file mode 100644 (file)
index 0000000..6c6ea14
--- /dev/null
@@ -0,0 +1,9 @@
+overrides:
+  check-counter:
+    dry_run: true
+tasks:
+- workunit:
+    clients:
+      all:
+        - direct_io
+
diff --git a/qa/suites/fs/workload/tasks/6-workunit/fs/.qa b/qa/suites/fs/workload/tasks/6-workunit/fs/.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/workload/tasks/6-workunit/fs/misc.yaml b/qa/suites/fs/workload/tasks/6-workunit/fs/misc.yaml
new file mode 100644 (file)
index 0000000..4a9d0b4
--- /dev/null
@@ -0,0 +1,10 @@
+overrides:
+  check-counter:
+    counters:
+      mds:
+        - "mds.dir_split"
+tasks:
+- workunit:
+    clients:
+      all:
+        - fs/misc
diff --git a/qa/suites/fs/workload/tasks/6-workunit/fs/norstats.yaml b/qa/suites/fs/workload/tasks/6-workunit/fs/norstats.yaml
new file mode 100644 (file)
index 0000000..d48df54
--- /dev/null
@@ -0,0 +1,17 @@
+overrides:
+  check-counter:
+    counters:
+      mds:
+        - "mds.dir_split"
+tasks:
+- workunit:
+    clients:
+      all:
+        - fs/norstats
+overrides:
+  kclient:
+    rbytes: false
+  ceph:
+    conf:
+      client:
+        client dirsize rbytes: false
diff --git a/qa/suites/fs/workload/tasks/6-workunit/fs/test_o_trunc.yaml b/qa/suites/fs/workload/tasks/6-workunit/fs/test_o_trunc.yaml
new file mode 100644 (file)
index 0000000..7b2b7c5
--- /dev/null
@@ -0,0 +1,8 @@
+overrides:
+  check-counter:
+    dry_run: true
+tasks:
+- workunit:
+    clients:
+      all:
+        - fs/test_o_trunc.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/kernel_untar_build.yaml b/qa/suites/fs/workload/tasks/6-workunit/kernel_untar_build.yaml
new file mode 100644 (file)
index 0000000..602d341
--- /dev/null
@@ -0,0 +1,10 @@
+overrides:
+  check-counter:
+    counters:
+      mds:
+        - "mds.dir_split"
+tasks:
+- workunit:
+    clients:
+      all:
+        - kernel_untar_build.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/postgres.yaml b/qa/suites/fs/workload/tasks/6-workunit/postgres.yaml
new file mode 100644 (file)
index 0000000..7e71dbc
--- /dev/null
@@ -0,0 +1,36 @@
+# I would expect setting the context on the postgresql database directories
+# would correctly trickle down to the files created by the postgresql daemon,
+# but this does not appear to work. I would still see denials like:
+
+#     type=AVC msg=audit(1655861665.521:21354): avc:  denied  { create } for  pid=131994 comm="postmaster" name="replorigin_checkpoint.tmp" scontext=system_u:system_r:postgresql_t:s0 tcontext=system_u:object_r:cephfs_t:s0 tclass=file permissive=1'
+
+# Instead, we'll just set the context for the mount and be done with it. I've
+# left in the context setting for the directories below.
+
+overrides:
+  ceph-fuse:
+    client.0:
+      mountpoint: /tmp/cephfs
+      mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
+  kclient:
+    client.0:
+      mountpoint: /tmp/cephfs
+      mntopts: ["context=system_u:object_r:postgresql_db_t:s0"]
+tasks:
+- exec:
+    client.0:
+      - sudo ls -l /tmp/cephfs/ && sudo df -h /tmp/cephfs/
+      - sudo mkdir -m 755 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres && sudo chown postgres:postgres /tmp/cephfs/postgres
+      - sudo -u postgres -- mkdir -m 700 --context=system_u:system_r:postgresql_t:s0 /tmp/cephfs/postgres/data
+      - sudo semanage fcontext -a -t postgresql_db_t "/tmp/cephfs/postgres(/.*)?"
+      - sudo grep -i postgresql /etc/selinux/targeted/contexts/files/file_contexts.local
+      - sudo restorecon -R -v /tmp/cephfs/postgres
+      - sudo ls -lZaR /tmp/cephfs/postgres/
+      - sudo mkdir -p /etc/systemd/system/postgresql.service.d/ && printf '[Service]\nEnvironment=PGDATA=/tmp/cephfs/postgres/data\nEnvironment=PGLOG=/tmp/cephfs/postgres/pgstartup.log\n' | sudo tee /etc/systemd/system/postgresql.service.d/env.conf
+      - sudo -u postgres -- postgresql-setup --initdb
+      - sudo ls -lZaR /tmp/cephfs/postgres/
+      - sudo systemctl start postgresql
+      - sudo -u postgres -- pgbench -s 32 -i
+      - sudo -u postgres -- pgbench -c 100 -j 4 --progress=5 --time=900
+      - sudo systemctl stop postgresql
+      - sudo ls -lZaR /tmp/cephfs/postgres/
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/.qa b/qa/suites/fs/workload/tasks/6-workunit/suites/.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/workload/tasks/6-workunit/suites/blogbench.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/blogbench.yaml
new file mode 100644 (file)
index 0000000..4c4bf2f
--- /dev/null
@@ -0,0 +1,10 @@
+overrides:
+  check-counter:
+    counters:
+      mds:
+        - "mds.dir_split"
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/blogbench.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/dbench.yaml
new file mode 100644 (file)
index 0000000..41b2bc8
--- /dev/null
@@ -0,0 +1,5 @@
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/dbench.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/ffsb.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/ffsb.yaml
new file mode 100644 (file)
index 0000000..9bc925a
--- /dev/null
@@ -0,0 +1,18 @@
+overrides:
+  ceph:
+    log-ignorelist:
+    - SLOW_OPS
+    - slow request
+    conf:
+      osd:
+        filestore flush min: 0
+        osd heartbeat grace: 60
+  check-counter:
+    counters:
+      mds:
+        - "mds.dir_split"
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/ffsb.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/fsstress.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/fsstress.yaml
new file mode 100644 (file)
index 0000000..bae2202
--- /dev/null
@@ -0,0 +1,6 @@
+tasks:
+- workunit:
+    timeout: 6h
+    clients:
+      all:
+        - suites/fsstress.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/fsx.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/fsx.yaml
new file mode 100644 (file)
index 0000000..12d456c
--- /dev/null
@@ -0,0 +1,10 @@
+overrides:
+  check-counter:
+    counters:
+      mds:
+        - "mds.dir_split"
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/fsx.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/fsync-tester.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/fsync-tester.yaml
new file mode 100644 (file)
index 0000000..9aaf6d0
--- /dev/null
@@ -0,0 +1,8 @@
+overrides:
+  check-counter:
+    dry_run: true
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/fsync-tester.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/iogen.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/iogen.yaml
new file mode 100644 (file)
index 0000000..b8beb9e
--- /dev/null
@@ -0,0 +1,8 @@
+overrides:
+  check-counter:
+    dry_run: true
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/iogen.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/iozone.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/iozone.yaml
new file mode 100644 (file)
index 0000000..bf5fd25
--- /dev/null
@@ -0,0 +1,8 @@
+overrides:
+  check-counter:
+    dry_run: true
+tasks:
+- workunit:
+    clients:
+      all:
+        - suites/iozone.sh
diff --git a/qa/suites/fs/workload/tasks/6-workunit/suites/pjd.yaml b/qa/suites/fs/workload/tasks/6-workunit/suites/pjd.yaml
new file mode 100644 (file)
index 0000000..37e315f
--- /dev/null
@@ -0,0 +1,12 @@
+overrides:
+  ceph:
+    conf:
+      client:
+        fuse set user groups: true
+        fuse default permissions: false
+tasks:
+- workunit:
+    timeout: 6h
+    clients:
+      all:
+        - suites/pjd.sh