On Tuesday 23 July 2002 17:06, Olaf Kirch wrote:
> But as it is today, all blocked locks get inserted at the end of the
> list because time_before_eq does a signed comparison! With the unpatched
> code, when you have a blocked lock, and the conflicting lock is removed,
> lockd will never send out a GRANTED_MSG. Because the blocked lock is at the
> end of the list, and never picked up.
Fair enough: I see the bug now.
So why could we not do something like the following instead? This just ensures
that we always leave the NLM_NEVER stuff at the end of the list which should
suffice to keep nlmsvc_retry_blocked() happy.
Cheers,
Trond
This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:43 EST