Re: [RFC][PATCH] Fix hang in posix_locks_deadlock()

George G. Davis
2007-11-02T15:06:10Z

On Fri, Oct 26, 2007 at 01:07:50PM -0400, J. Bruce Fields wrote:
>
> It may take multiple steps to identify a deadlock. With the above
> you'll miss deadlocks like
>
> process 1 is requesting a lock held by process 2
> process 2 is blocking on a lock held by process 3
> process 3 is blocking on a lock held by process 1.
>
> Could you give more details about how you're causing
> posix_locks_deadlock to hang? Is there a simple test-case you can post?

Sorry I missed your message due to procmail filters and failure to
read linux-kernel for a week. : )

A bit late now since you've appliead a workaround but FWIW the test
case was posted as a followup to my initial post.

--
Regards,
George