-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qa: add an fsx run which turns on kernel debugging
Signed-off-by: Greg Farnum <[email protected]>
- Loading branch information
1 parent
85e491f
commit 29c33f0
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |