From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Eeda Date: Mon, 24 May 2010 21:54:18 -0700 Subject: [Ocfs2-devel] [PATCH 1/1] ocfs2/dlm: resend deref to new master if recovery occures In-Reply-To: <20100525025004.GB9173@laptop.us.oracle.com> References: <4BFAD7F4.3000705@oracle.com> <20100525020114.GA9173@laptop.us.oracle.com> <20100525025004.GB9173@laptop.us.oracle.com> Message-ID: <4BFB57FA.3090503@oracle.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com On 5/24/2010 7:50 PM, Wengang Wang wrote: >>> delay deref message if DLM_LOCK_RES_RECOVERING is set (which means >>> recovery got to the lockres before dlm_thread could), move the >>> lockres to the end of the purgelist and retry later. >>> > > If you meant checking before sending DEREF, it could cause a high cpu > useage when there are only the ones in recovery left in the purge list > until they are recovered. --Is that acceptable? > Yea, you are right about the cpu usage. I think the right thing would be to exit the loop after all locks are traversed once. > regards, > wengang. > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20100524/d283fc49/attachment.html