Skip to content

Commit

Permalink
qa: add an fsx run which turns on kernel debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Farnum <[email protected]>
  • Loading branch information
gregsfortytwo committed Jun 11, 2014
1 parent 85e491f commit 29c33f0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions qa/workunits/suites/fsx_debug.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/sh -x

p() {
echo "$*" > /sys/kernel/debug/dynamic_debug/control
}

echo 9 > /proc/sysrq-trigger
p 'module ceph +p'
p 'module libceph +p'
p 'module rbd +p'

set -e

git clone git://ceph.newdream.net/git/xfstests.git
make -C xfstests
cp xfstests/ltp/fsx .

./fsx 1MB -N 50000 -p 10000 -l 1048576
./fsx 10MB -N 50000 -p 10000 -l 10485760
./fsx 100MB -N 50000 -p 10000 -l 104857600

echo 9 > /proc/sysrq-trigger
p 'module ceph +p'
p 'module libceph +p'
p 'module rbd +p'

0 comments on commit 29c33f0

Please sign in to comment.