summaryrefslogtreecommitdiffstats
path: root/277/regr/spec_files/client1.vol
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2009-12-01 22:02:59 -0800
committerVijay Bellur <vijay@gluster.com>2010-01-26 20:48:20 +0530
commitbdc172371ec2a9823f91b0cfb1f5ac8b7d92c5f0 (patch)
tree94eea8fc5f2b0dc55e96f812e383ae4a8785b372 /277/regr/spec_files/client1.vol
parent864565ab9030a93b93c7c30a7adc60134816a2a1 (diff)
Regression testcase for bug 277
Signed-off-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to '277/regr/spec_files/client1.vol')
-rw-r--r--277/regr/spec_files/client1.vol61
1 files changed, 61 insertions, 0 deletions
diff --git a/277/regr/spec_files/client1.vol b/277/regr/spec_files/client1.vol
new file mode 100644
index 0000000..9cfeb44
--- /dev/null
+++ b/277/regr/spec_files/client1.vol
@@ -0,0 +1,61 @@
+### file: client-volume.vol.sample
+
+#####################################
+### GlusterFS Client Volume File ##
+#####################################
+
+#### CONFIG FILE RULES:
+### "#" is comment character.
+### - Config file is case sensitive
+### - Options within a volume block can be in any order.
+### - Spaces or tabs are used as delimitter within a line.
+### - Each option should end within a line.
+### - Missing or commented fields will assume default values.
+### - Blank/commented lines are allowed.
+### - Sub-volumes should already be defined above before referring.
+
+### Add client feature and attach to remote subvolume
+volume client
+ type protocol/client
+ option transport-type tcp
+# option transport-type unix
+# option transport-type ib-sdp
+ option remote-host 127.0.0.1 # IP address of the remote brick
+ option transport.socket.remote-port 6997 # default server port is 6996
+
+# option transport-type ib-verbs
+# option transport.ib-verbs.remote-port 6996 # default server port is 6996
+# option transport.ib-verbs.work-request-send-size 1048576
+# option transport.ib-verbs.work-request-send-count 16
+# option transport.ib-verbs.work-request-recv-size 1048576
+# option transport.ib-verbs.work-request-recv-count 16
+
+# option transport-timeout 30 # seconds to wait for a reply
+ # from server for each request
+ option remote-subvolume brick # name of the remote volume
+end-volume
+
+### Add readahead feature
+volume readahead
+ type performance/read-ahead
+ option page-size 1MB # unit in bytes
+ option page-count 2 # cache per file = (page-count x page-size)
+ subvolumes client
+end-volume
+
+### Add IO-Cache feature
+volume iocache
+ type performance/io-cache
+ option page-size 256KB
+ option page-count 2
+ subvolumes readahead
+end-volume
+
+### Add writeback feature
+volume writeback
+ type performance/write-behind
+ option aggregate-size 1MB
+ option window-size 2MB
+ option flush-behind off
+ subvolumes iocache
+end-volume