[Gluster-devel] Posix locks - Patch works

Harshavardhana harsha at gluster.com
Thu Feb 11 08:15:05 UTC 2010


Hi Florian,

 * replies inline *
On Thu, Feb 11, 2010 at 3:08 AM, Smart Weblications GmbH - Florian Wiessner
<f.wiessner at smart-weblications.de> wrote:

> Hi List,
>
> Am 05.02.2010 14:41, schrieb Samuel Hassine:
> > Hi all,
> >
> > I just patched the GlusterFS Source code with
> > http://patches.gluster.com/patch/2716/ .
> >
> > For PHP Sessions, the problem is solved, it works with the locks
> > translator.
> > For internal server errors on a huge trafic, same thing, no problem
> > anymore.
> >
> > Thanks a lot. We will send you other feedbacks for the same
> > infrastructure (huge trafic) but with a distributed-replicated
> > GlusterFS.
> >
>
> I can't confirm that this works - we still have the problems with hanging
> sessions with latest glusterfs from git (cloned today) - is the patch
> already
> applied to current git?
>
> There are three different branches now

origin/release-2.0  - For 2.0.x releases
origin/release-3.0  - For 3.0.x releases
master - Upcoming 3.x releases

Now if you are using "master" branch in git you are bound to have problems
as it not tested.  If you are using "release-3.0" branch please send us your
log files too.

Earlier suggested patch will be included in the 3.0.3 release ie.
release-3.0 branch already has the patch.

-
Harshavardhana

> Kernel: 2.6.31.12 vanilla
>
> Our config looks like this:
>
> server:
> volume posix-testbed
>  type storage/posix
>  option directory /export
> end-volume
>
> volume locks-testbed
>  type features/locks
>  subvolumes posix-testbed
> end-volume
>
> volume iothreads-testbed
>  type performance/io-threads
>  option thread-count 16 # default is 16
>  subvolumes locks-testbed
> end-volume
>
> volume writebehind-testbed
>  type performance/write-behind
>  option cache-size 1000MB
>  option flush-behind off
>
>  subvolumes iothreads-testbed
> end-volume
>
> volume testbed
>  type performance/io-cache
>  option cache-size 1024MB
>  subvolumes writebehind-testbed
> end-volume
>
> volume server
>   type protocol/server
>  option transport-type tcp
>   option transport.socket.nodelay on
>   option auth.login.testbed.allow testbed # seperated by comma
>  option auth.login.testbed.password ################
>  option transport.socket.bind-address 188.65.#######
>  subvolumes testbed
> end-volume
>
> client:
>
> volume remote1
>   type protocol/client
>  option transport-type tcp
>   option remote-host node1
>  option remote-subvolume testbed
>  option username testbed
>  option password sdhf8hxi34
> end-volume
>
> volume remote2
>   type protocol/client
>  option transport-type tcp
>   option remote-host node2
>  option remote-subvolume testbed
>  option username testbed
>  option password ##########
> end-volume
>
> volume mirror0
>  type cluster/replicate
>  subvolumes remote1 remote2
> end-volume
>
> volume io-cache
>    type performance/io-cache
>    option cache-size 512MB
>    subvolumes mirror0
> end-volume
>
> volume quickread
>  type performance/quick-read
>   option cache-timeout 5         # default 1 second
>  option max-file-size 64KB        # default 64Kb
>  subvolumes io-cache
> end-volume
>
>
> volume iothreads
>  type performance/io-threads
>  option thread-count 16
>  subvolumes quickread
> end-volume
>
> volume stat-prefetch
>  type performance/stat-prefetch
>  subvolumes iothreads
> end-volume
>
> volume readahead
>  type performance/read-ahead
>  option page-count 4
>   option force-atime-update off
>  subvolumes stat-prefetch
> end-volume
>
> volume writebehind
>  type performance/write-behind
>   option cache-size 16MB
>  option flush-behind on
>  subvolumes stat-prefetch
> end-volume
>
>
> --
>
> Mit freundlichen Grüßen,
>
> Florian Wiessner
>
> Smart Weblications GmbH
> Martinsberger Str. 1
> D-95119 Naila
>
> fon.: +49 9282 9638 200
> fax.: +49 9282 9638 205
> 24/7: +49 900 144 000 00 - 0,99 EUR/Min*
> http://www.smart-weblications.de
>
> --
> Sitz der Gesellschaft: Naila
> Geschäftsführer: Florian Wiessner
> HRB-Nr.: HRB 3840 Amtsgericht Hof
> *aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20100211/61bf9ed3/attachment-0003.html>


More information about the Gluster-devel mailing list