[Gluster-devel] epoll.c bug

Thierry EXCOFFIER exco at bat710.univ-lyon1.fr
Wed Oct 31 20:52:05 UTC 2007


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,

Sincerely yours.

PS : My server is a Buffalo Linkstation with original firmware :
     linux 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

More information about the Gluster-devel mailing list