From: David Teigland Date: Tue, 2 May 2006 17:34:03 +0000 (-0400) Subject: [DLM] fix grant_after_purge softlockup X-Git-Tag: v2.6.19-rc1~32^2~206 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97a35d1e5fab9ff8de27814082b78b2fc9ad94f0;p=pandora-kernel.git [DLM] fix grant_after_purge softlockup In dlm_grant_after_purge() we were holding a hash table read_lock while calling put_rsb() which potentially removes the rsb from the hash table, taking the same lock in write. Fix this by flagging rsb's ahead of time that have been purged. Then iteratively read_lock the hash table, find a flagged rsb, unlock, process rsb. Signed-off-by: David Teigland Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed