Re: [Cluster-devel] [PATCH] [GFS2] bz 276631 : GFS2: chmod hung - TRY 2

2007-09-14 Thread David Teigland
On Thu, Sep 13, 2007 at 11:04:43PM -0500, Bob Peterson wrote: > diff -pur a/fs/gfs2/locking/dlm/thread.c b/fs/gfs2/locking/dlm/thread.c > --- a/fs/gfs2/locking/dlm/thread.c2007-09-13 17:33:58.0 -0500 > +++ b/fs/gfs2/locking/dlm/thread.c2007-09-13 22:47:14.0 -0500 > @@ -279,8

Re: [Cluster-devel] [PATCH] [GFS2] bz 276631 : GFS2: chmod hung - TRY 2

2007-09-14 Thread Steven Whitehouse
Hi, Now in the -nmw git tree. Thanks, Steve. On Thu, 2007-09-13 at 23:04 -0500, Bob Peterson wrote: > Josef's right--my bad. Here is the corrected patch for 276631. > > The problem boiled down to a race between the gdlm_init_threads() > function initializing thread1 and its setting of blist =

[Cluster-devel] [PATCH] [GFS2] bz 276631 : GFS2: chmod hung - TRY 2

2007-09-13 Thread Bob Peterson
Josef's right--my bad. Here is the corrected patch for 276631. The problem boiled down to a race between the gdlm_init_threads() function initializing thread1 and its setting of blist = 1. Essentially, "if (current == ls->thread1)" was checked by the thread before the thread creator set ls->threa