]>
git.proxmox.com Git - ceph.git/blob - ceph/src/test/test_rw.sh
4 # Generic read/write from object store test
8 source "`dirname $0`/test_common.sh"
14 write_objects
$1 $2 10 1000000 $TEST_POOL
18 export CEPH_NUM_OSD
=$1
23 .
/vstart.sh
-d -n || die
"vstart.sh failed"
27 write_objects
1 2 100 8192 $TEST_POOL
28 read_objects
2 100 8192
30 write_objects
3 3 10 81920 $TEST_POOL
31 read_objects
3 10 81920
33 write_objects
4 4 100 4 $TEST_POOL
36 write_objects
1 2 100 8192 $TEST_POOL
37 read_objects
2 100 8192
49 read_write_1 || die
"test failed"