Sunil Mushran a191282601 ocfs2: Prevent a livelock in dlmglue
There is possibility of a livelock in __ocfs2_cluster_lock(). If a node were
to get an ast for an upconvert request, followed immediately by a bast,
there is a small window where the fs may downconvert the lock before the
process requesting the upconvert is able to take the lock.

This patch adds a new flag to indicate that the upconvert is still in
progress and that the dc thread should not downconvert it right now.

Wengang Wang <wen.gang.wang@oracle.com> and Joel Becker
<joel.becker@oracle.com> contributed heavily to this patch.

Reported-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-02-02 23:51:13 -08:00
..
2009-10-28 23:05:57 -07:00
2009-09-22 20:09:36 -07:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2010-02-02 23:51:13 -08:00
2009-09-22 20:09:37 -07:00
2009-10-28 23:05:57 -07:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2009-10-28 23:05:57 -07:00
2009-09-27 11:39:25 -07:00
2008-02-03 17:33:42 +02:00
2010-02-02 23:51:13 -08:00
2009-12-10 15:02:51 +01:00
2009-09-22 20:09:51 -07:00
2008-01-25 15:05:46 -08:00
2009-10-28 23:05:57 -07:00