[Cluster-devel] [GFS2 PATCH] GFS2: Only wait for demote when last holder is dequeued

2014-06-20 Thread Bob Peterson
Hi, Function gfs2_glock_dq_wait is supposed to dequeue a glock and then wait for the lock to be demoted. The problem is, if this is a shared lock, its demote will depend on the other holders, which means you might end up waiting forever because the other process is blocked. This problem is

Re: [Cluster-devel] [GFS2 PATCH] GFS2: Only wait for demote when last holder is dequeued

2014-06-20 Thread Steven Whitehouse
Hi, Now in the -nmw tree. Thanks, Steve. On 20/06/14 14:36, Bob Peterson wrote: Hi, Function gfs2_glock_dq_wait is supposed to dequeue a glock and then wait for the lock to be demoted. The problem is, if this is a shared lock, its demote will depend on the other holders, which means you