Hi, On http://www.gluster.org/community/documentation/index.php/Translators/performance/io-cache I found the following:> volume io-cache > type performance/io-cache > option cache-size 64MB # default is 32MB > option priority *.h:3,*.html:2,*:1 # default is '*:0' > option cache-timeout 2 # default is 1 second > subvolumes <x> > end-volumeIt includes a "priority" setting for the cache translator, which would be incredibly useful for my setup. Is there any way to set this in Gluster 3.4? I've looked through the docs but couldn't find anything useful pointing in this direction. Is this option available through the Gluster cli or was this removed? Thanks in advance, Maik
On Tue, 2013-10-01 at 12:21 +0200, Maik Kulbe wrote:> Hi,Hey,> > On http://www.gluster.org/community/documentation/index.php/Translators/performance/io-cache I found the following: > > > volume io-cache > > type performance/io-cache > > option cache-size 64MB # default is 32MB > > option priority *.h:3,*.html:2,*:1 # default is '*:0' > > option cache-timeout 2 # default is 1 second > > subvolumes <x> > > end-volume > > It includes a "priority" setting for the cache translator, which would be incredibly useful for my setup. Is there any way to set this in Gluster 3.4? I've looked through the docs but couldn't find anything useful pointing in this direction. Is this option available through the Gluster cli or was this removed?Is this what you're looking for? https://github.com/purpleidea/puppet-gluster/blob/master/manifests/volume/property/data.pp#L232 If so, these can also be set with gluster volume set ... Cheers, James> > Thanks in advance, > Maik > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20131001/998da352/attachment.sig>
-----Original Mail----- From: James [purpleidea at gmail.com] Sent: 01.10.13 - 13:04:38 To: Maik Kulbe [info at linux-web-development.de] Cc: gluster-users at gluster.org [gluster-users at gluster.org] Subject: Re: [Gluster-users] Performance> On Tue, 2013-10-01 at 12:21 +0200, Maik Kulbe wrote: > > Hi, > Hey, > > > > On > http://www.gluster.org/community/documentation/index.php/Translators/performance/io-cache > I found the following: > > > > > volume io-cache > > > type performance/io-cache > > > option cache-size 64MB # default is 32MB > > > option priority *.h:3,*.html:2,*:1 # default is '*:0' > > > option cache-timeout 2 # default is 1 second > > > subvolumes > > > end-volume > > > > It includes a "priority" setting for the cache translator, which would > be incredibly useful for my setup. Is there any way to set this in > Gluster 3.4? I've looked through the docs but couldn't find anything > useful pointing in this direction. Is this option available through the > Gluster cli or was this removed? > Is this what you're looking for? > https://github.com/purpleidea/puppet-gluster/blob/master/manifests/volume/property/data.pp#L232 > > If so, these can also be set with gluster volume set ... >Thank you, that's what I was looking for. Sometimes Gluster's lack of a proper documentation for the current version can be a real PITA..> Cheers, > James > > > > > Thanks in advance, > > Maik > > _______________________________________________ > > Gluster-users mailing list > > Gluster-users at gluster.org > > http://supercolony.gluster.org/mailman/listinfo/gluster-users