From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joel Becker Date: Thu, 17 Jun 2010 01:32:16 -0700 Subject: [Ocfs2-devel] [PATCH 1/2] ocfs2 fix o2dlm dlm run purgelist In-Reply-To: <4C197E0B.1060103@oracle.com> References: <1276663383-8238-1-git-send-email-srinivas.eeda@oracle.com> <4C197E0B.1060103@oracle.com> Message-ID: <20100617083216.GA17748@mail.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 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? Joel -- "All alone at the end of the evening When the bright lights have faded to blue. I was thinking about a woman who had loved me And I never knew" Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127