gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] epoll.c bug


From: Thierry EXCOFFIER
Subject: [Gluster-devel] epoll.c bug
Date: Wed, 31 Oct 2007 21:52:05 +0100
User-agent: Thunderbird 1.5.0.12 (X11/20070604)

Hello.

My 'glusterfsd 1.3.7' crashs if 2 clients use it at the same time.

After a small change in the sources, it seems to work :

In 'epoll.c' / 'sys_epoll_iteration'

  for (i=0; i < ret; i++) {
   if ( ectx->evs[i].events )     /**** This test was missing ****/
    epoll_notify (ectx->evs[i].events,
                  ectx->evs[i].data.ptr);
  }


Sincerely yours.

PS : My server is a Buffalo Linkstation with original firmware :
     linux 2.6.12.6 on an Arm processor with 128MB of RAM.
-- 
Thierry.EXCOFFIER@@liris.univ-lyon1.fr//   GO: Oriental Strategy Game
LIRIS/UFR Informatique, bat710       //DYLAN: Programming Language
Universite Claude Bernard LYON 1  __// UNIX: Standard Operating System
43 Bd du 11 novembre 1918       //
69622 VILLEURBANNE, FRANCE     //WWW: http://www710.univ-lyon1.fr/~exco




reply via email to

[Prev in Thread] Current Thread [Next in Thread]