blob: f8719f2a2c15fdc8989ae7088c46f2228c77ad91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/bin/bash
. $(dirname $0)/../../include.rc
. $(dirname $0)/../../volume.rc
cleanup;
TEST glusterd
TEST $CLI volume create $V0 replica 3 ${H0}:$B0/brick{1,2,3};
TEST $CLI volume set $V0 features.shard on
TEST $CLI volume set $V0 features.shard-block-size 4MB
TEST $CLI volume set $V0 performance.quick-read off
TEST $CLI volume set $V0 performance.io-cache off
#Uncomment the following line after shard-queuing is implemented
#TEST $CLI volume set $V0 performance.write-behind off
TEST $CLI volume set $V0 performance.strict-o-direct on
TEST $CLI volume set $V0 performance.stat-prefetch off
TEST $CLI volume set $V0 performance.read-ahead off
TEST $CLI volume start $V0;
logdir=`gluster --print-logdir`
TEST build_tester $(dirname $0)/shard-append-test.c -lgfapi -lpthread
TEST ./$(dirname $0)/shard-append-test ${H0} $V0 $logdir/shard-append-test.log
cleanup_tester $(dirname $0)/shard-append-test
cleanup;
|