[Ocfs2-devel] [PATCH 1/2] ocfs2 fix o2dlm dlm run purgelist

Srinivas Eeda srinivas.eeda at oracle.com
Thu Jun 17 01:35:10 PDT 2010


On 6/17/2010 1:32 AM, Joel Becker wrote:
> On Wed, Jun 16, 2010 at 06:44:43PM -0700, Sunil Mushran wrote:
>   
>> One way to skip a lockres in the purgelist is to list_del_init() and
>> list_add_tail(). That simplifies the patch a lot.
>>
>> I have attached a quick & dirty patch. See if that satisfies all the
>> requirements.
>>     
>
> 	As far as I can tell from reading the code, the time_after()
> check is because they are time ordered.  Wouldn't moving it to the end
> violate that?
>   
right. that's why I didn't want to move used lockres to tail :)
> Joel
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20100617/ef913653/attachment.html 


More information about the Ocfs2-devel mailing list