diff options
| author | Sachidananda <sac@gluster.com> | 2011-06-15 06:54:22 +0000 | 
|---|---|---|
| committer | Anand Avati <avati@gluster.com> | 2011-06-16 09:14:44 -0700 | 
| commit | 4566fb78c16948f91e7d5b1934d8722b51508053 (patch) | |
| tree | b5ca5b04a025819565998333ebdbc5590723bc1d /doc/examples/io-threads.vol | |
| parent | 4ba661f5989db0148c7c1f4631645f932a99fe56 (diff) | |
Bring `examples' directory upto date.
Signed-off-by: Sachidananda Urs <sac@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 3031 (Fix share/{doc,man} directory)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3031
Diffstat (limited to 'doc/examples/io-threads.vol')
| -rw-r--r-- | doc/examples/io-threads.vol | 13 | 
1 files changed, 7 insertions, 6 deletions
diff --git a/doc/examples/io-threads.vol b/doc/examples/io-threads.vol index 9954724e1fe..236f5b8b188 100644 --- a/doc/examples/io-threads.vol +++ b/doc/examples/io-threads.vol @@ -1,11 +1,13 @@ -  volume brick    type storage/posix                   # POSIX FS translator    option directory /home/export        # Export this directory  end-volume -###  'IO-threads' translator gives a threading behaviour to File I/O calls. All other normal fops are having default behaviour. Loading this on server side helps to reduce the contension of network. (Which is assumed as a GlusterFS hang).  -# One can load it in client side to reduce the latency involved in case of a slow network, when loaded below write-behind. +###  'IO-threads' translator gives a threading behaviour to File I/O calls. All +# other normal fops are having default behaviour. Loading this on server side +# helps to reduce the contension of network. (Which is assumed as a GlusterFS +# hang). +  volume iot    type performance/io-threads    subvolumes brick @@ -14,8 +16,7 @@ end-volume  volume server    type protocol/server -  subvolumes iot brick +  subvolumes iot    option transport-type tcp     # For TCP/IP transport -  option auth.addr.brick.allow 192.168.* # Allow access to "brick" volume -  option auth.addr.iot.allow 192.168.* # Allow access to "p-locks" volume +  option auth.addr.iot.allow 192.168.*  end-volume  | 
