diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2010-11-15 21:31:43 +0100 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2010-11-15 21:31:43 +0100 |
commit | c293b9af1c72efab5600508bb9ae74e61448a4a6 (patch) | |
tree | 64d6196e4f5513b390a566da39ba6d2d119668ac /src/test/test_common.sh | |
parent | test_unfound.sh: fix return codes (diff) | |
download | ceph-c293b9af1c72efab5600508bb9ae74e61448a4a6.tar.xz ceph-c293b9af1c72efab5600508bb9ae74e61448a4a6.zip |
test_common.sh: add dump_osd_store
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
Diffstat (limited to 'src/test/test_common.sh')
-rwxr-xr-x | src/test/test_common.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/test_common.sh b/src/test/test_common.sh index 97701d3e64d..75a0770b880 100755 --- a/src/test/test_common.sh +++ b/src/test/test_common.sh @@ -116,4 +116,13 @@ poll_cmd() { return 0 } +dump_osd_store() { + set +x + find ./dev/osd* -type f | grep obj | grep head$ | while read file; do + echo $file + head -c 10 $file + echo + done +} + init |