From 4566fb78c16948f91e7d5b1934d8722b51508053 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Wed, 15 Jun 2011 06:54:22 +0000 Subject: Bring `examples' directory upto date. Signed-off-by: Sachidananda Urs Signed-off-by: Anand Avati BUG: 3031 (Fix share/{doc,man} directory) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=3031 --- doc/examples/io-cache.vol | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'doc/examples/io-cache.vol') diff --git a/doc/examples/io-cache.vol b/doc/examples/io-cache.vol index 5f3eca4c527..a71745017a2 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 -- cgit