summaryrefslogtreecommitdiffstats
path: root/28/regr/spec_files/client1.vol
diff options
context:
space:
mode:
authorVinayak Hegde <vinayak@gluster.com>2009-11-09 21:39:03 -0800
committerVijay Bellur <vijay@gluster.com>2009-11-11 18:07:25 +0530
commit4f4524ba361ed5312c13a9bda36b6b1b5772983a (patch)
tree9db6724d0cc7b013310fa05078887c2f2324e863 /28/regr/spec_files/client1.vol
parentce54a222a4ce8ae72758592a1be20e9e9d6a3a64 (diff)
Regression testcase for bug-28.
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to '28/regr/spec_files/client1.vol')
-rw-r--r--28/regr/spec_files/client1.vol33
1 files changed, 33 insertions, 0 deletions
diff --git a/28/regr/spec_files/client1.vol b/28/regr/spec_files/client1.vol
new file mode 100644
index 0000000..448789c
--- /dev/null
+++ b/28/regr/spec_files/client1.vol
@@ -0,0 +1,33 @@
+volume remote1
+ type protocol/client
+ option transport-type tcp
+ option remote-port 9322
+ option remote-host 127.0.0.1
+ option remote-subvolume brick
+end-volume
+
+volume remote2
+ type protocol/client
+ option transport-type tcp
+ option remote-port 9323
+ option remote-host 127.0.0.1
+ option remote-subvolume brick
+end-volume
+
+volume replicate
+ type cluster/replicate
+ subvolumes remote1 remote2
+end-volume
+
+volume writebehind
+ type performance/write-behind
+ option window-size 1MB
+ subvolumes replicate
+end-volume
+
+volume cache
+ type performance/io-cache
+ option cache-size 512MB
+ subvolumes writebehind
+end-volume
+