summaryrefslogtreecommitdiffstats
path: root/133/regr/spec_files
diff options
context:
space:
mode:
authorVinayak Hegde <vinayak@gluster.com>2009-10-28 22:31:08 -0700
committerVijay Bellur <vijay@gluster.com>2009-10-30 12:08:29 +0530
commit5afb5eba560002e11e3341b21afbd9c25da9bcee (patch)
treedbe568f2af40c9e2014b22d1d9c6b3cc27b10ee9 /133/regr/spec_files
parentb57aa4ab6641d264e83301ad1afac411fe2e9843 (diff)
Regression testcase for bug 133
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to '133/regr/spec_files')
-rw-r--r--133/regr/spec_files/client1.vol33
-rw-r--r--133/regr/spec_files/server1.vol24
-rw-r--r--133/regr/spec_files/server2.vol24
3 files changed, 81 insertions, 0 deletions
diff --git a/133/regr/spec_files/client1.vol b/133/regr/spec_files/client1.vol
new file mode 100644
index 0000000..043e637
--- /dev/null
+++ b/133/regr/spec_files/client1.vol
@@ -0,0 +1,33 @@
+volume remote1
+ type protocol/client
+ option transport-type tcp
+ option remote-port 9337
+ 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 9338
+ option remote-host 127.0.0.1
+ option remote-subvolume brick
+end-volume
+
+volume distribute
+ type cluster/distribute
+ subvolumes remote1 remote2
+end-volume
+
+volume writebehind
+ type performance/write-behind
+ option window-size 1MB
+ subvolumes distribute
+end-volume
+
+volume cache
+ type performance/io-cache
+ option cache-size 512MB
+ subvolumes writebehind
+end-volume
+
diff --git a/133/regr/spec_files/server1.vol b/133/regr/spec_files/server1.vol
new file mode 100644
index 0000000..6dc9048
--- /dev/null
+++ b/133/regr/spec_files/server1.vol
@@ -0,0 +1,24 @@
+volume posix
+ type storage/posix
+ option directory /jbod/regr/133/export1
+end-volume
+
+volume locks
+ type features/locks
+ subvolumes posix
+end-volume
+
+volume brick
+ type performance/io-threads
+ option thread-count 8
+ subvolumes locks
+end-volume
+
+volume server
+ type protocol/server
+ option transport-type tcp
+ option listen-port 9337
+ option auth.addr.brick.allow *
+ subvolumes brick
+end-volume
+
diff --git a/133/regr/spec_files/server2.vol b/133/regr/spec_files/server2.vol
new file mode 100644
index 0000000..04561bc
--- /dev/null
+++ b/133/regr/spec_files/server2.vol
@@ -0,0 +1,24 @@
+volume posix
+ type storage/posix
+ option directory /jbod/regr/133/export2
+end-volume
+
+volume locks
+ type features/locks
+ subvolumes posix
+end-volume
+
+volume brick
+ type performance/io-threads
+ option thread-count 8
+ subvolumes locks
+end-volume
+
+volume server
+ type protocol/server
+ option transport-type tcp
+ option listen-port 9338
+ option auth.addr.brick.allow *
+ subvolumes brick
+end-volume
+