]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/test_rw.sh
5 # Generic read/write from object store test
9 source "`dirname $0`/test_common.sh"
15 write_objects
$1 $2 10 1000000 $TEST_POOL
19 export CEPH_NUM_OSD
=$1
24 .
/vstart.sh
-d -n || die
"vstart.sh failed"
28 write_objects
1 2 100 8192 $TEST_POOL
29 read_objects
2 100 8192
31 write_objects
3 3 10 81920 $TEST_POOL
32 read_objects
3 10 81920
34 write_objects
4 4 100 4 $TEST_POOL
37 write_objects
1 2 100 8192 $TEST_POOL
38 read_objects
2 100 8192
50 read_write_1 || die
"test failed"