Code Review
/
stor4nfv.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
initial code repo
[stor4nfv.git]
/
src
/
ceph
/
qa
/
workunits
/
rbd
/
issue-20295.sh
1
#!/bin/sh -ex
2
3
TEST_POOL=ecpool
4
TEST_IMAGE=test1
5
PGS=12
6
7
ceph osd pool create $TEST_POOL $PGS $PGS erasure
8
ceph osd pool application enable $TEST_POOL rbd
9
ceph osd pool set $TEST_POOL allow_ec_overwrites true
10
rbd --data-pool $TEST_POOL create --size 1024G $TEST_IMAGE
11
rbd bench \
12
--io-type write \
13
--io-size 4096 \
14
--io-pattern=rand \
15
--io-total 100M \
16
$TEST_IMAGE
17
18
echo "OK"