[Gluster-devel] Posix locks - Patch works

Smart Weblications GmbH - Florian Wiessner f.wiessner at smart-weblications.de
Wed Feb 10 21:38:01 UTC 2010

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?

Kernel: vanilla

Our config looks like this:

volume posix-testbed
  type storage/posix
  option directory /export

volume locks-testbed
  type features/locks
  subvolumes posix-testbed

volume iothreads-testbed
  type performance/io-threads
  option thread-count 16 # default is 16
  subvolumes locks-testbed

volume writebehind-testbed
  type performance/write-behind
  option cache-size 1000MB
  option flush-behind off

  subvolumes iothreads-testbed

volume testbed
  type performance/io-cache
  option cache-size 1024MB
  subvolumes writebehind-testbed

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


volume remote1
  type protocol/client
  option transport-type tcp
  option remote-host node1
  option remote-subvolume testbed
  option username testbed
  option password sdhf8hxi34

volume remote2
  type protocol/client
  option transport-type tcp
  option remote-host node2
  option remote-subvolume testbed
  option username testbed
  option password ##########

volume mirror0
  type cluster/replicate
  subvolumes remote1 remote2

volume io-cache
    type performance/io-cache
    option cache-size 512MB
    subvolumes mirror0

volume quickread
  type performance/quick-read
  option cache-timeout 5         # default 1 second
  option max-file-size 64KB        # default 64Kb
  subvolumes io-cache

volume iothreads
  type performance/io-threads
  option thread-count 16
  subvolumes quickread

volume stat-prefetch
  type performance/stat-prefetch
  subvolumes iothreads

volume readahead
  type performance/read-ahead
  option page-count 4
  option force-atime-update off
  subvolumes stat-prefetch

volume writebehind
  type performance/write-behind
  option cache-size 16MB
  option flush-behind on
  subvolumes stat-prefetch


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*

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

More information about the Gluster-devel mailing list