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-cache.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-cache.vol')
| -rw-r--r-- | doc/examples/io-cache.vol | 22 | 
1 files changed, 14 insertions, 8 deletions
diff --git a/doc/examples/io-cache.vol b/doc/examples/io-cache.vol index 5f3eca4c5..a71745017 100644 --- a/doc/examples/io-cache.vol +++ b/doc/examples/io-cache.vol @@ -5,21 +5,27 @@ volume client    option remote-subvolume brick        # name of the remote volume  end-volume -## In normal clustered storage type, any of the cluster translators can come here. +## In normal clustered storage type, any of the cluster translators can come +# here.  #  # Definition of other clients -#  -# Definition of cluster translator (may be unify, replicate, or unify over replicate) -#  +# +# Definition of cluster translator (may be distribute, replicate, or distribute +# over replicate) +# -### 'IO-Cache' translator is best used on client side when a filesystem has file which are not modified frequently but read several times. For example, while compiling a kernel, *.h files are read while compiling every *.c file, in these case, io-cache translator comes very handy, as it keeps the whole file content in the cache, and serves from the cache. +### 'IO-Cache' translator is best used on client side when a filesystem has file +# which are not modified frequently but read several times. For example, while +# compiling a kernel, *.h files are read while compiling every *.c file, in +# these case, io-cache translator comes very handy, as it keeps the whole file +# content in the cache, and serves from the cache.  # One can provide the priority of the cache too.  volume ioc    type performance/io-cache -  subvolumes client         # In this example it is 'client' you may have to change it according to your spec file. -  option page-size 1MB      # 128KB is default +  subvolumes client         # In this example it is 'client' you may have to +                            #  change it according to your spec file.    option cache-size 64MB    # 32MB is default -  option force-revalidate-timeout 5 # 1second is default  +  option force-revalidate-timeout 5 # 1second is default    option priority *.html:2,*:1 # default is *:0  end-volume  | 
