summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Farnum <greg@inktank.com>2012-12-14 14:34:35 -0800
committerGreg Farnum <greg@inktank.com>2012-12-14 15:24:36 -0800
commit1ec70aa0dde820f1fd6fdedba2369b841bf6ca7f (patch)
tree1b25e3e177698c98b9b2b559ba036659f92e6c6f
parent286dcbeb5565e269d9f1fd0f8e0a068ea06f2a09 (diff)
downloadceph-1ec70aa0dde820f1fd6fdedba2369b841bf6ca7f.tar.gz
qa: add a workunit for fsync-tester
It turns out that our suites don't exercise fsync, at least not very much (I couldn't find it in all the places I looked for it). This tester was written by Ted T'so and updated by Chris Mason; I just made it work on a smaller dataset (256MB) because 8GB against a small cluster takes more time than we want to wait. Signed-off-by: Greg Farnum <greg@inktank.com>
-rwxr-xr-xqa/workunits/suites/fsync-tester.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/workunits/suites/fsync-tester.sh b/qa/workunits/suites/fsync-tester.sh
new file mode 100755
index 00000000000..bdb7e583846
--- /dev/null
+++ b/qa/workunits/suites/fsync-tester.sh
@@ -0,0 +1,8 @@
+#!/bin/sh -x
+
+set -e
+
+wget http://ceph.com/qa/fsync-tester.c
+gcc fsync-tester.c -o fsync-tester
+
+./fsync-tester