[Cluster-devel] [PATCH] dlm: schedule during recovery loops
Patrick Caulfield
pcaulfie at redhat.com
Wed Sep 26 07:18:55 UTC 2007
David Teigland wrote:
> Call schedule() in a bunch of places where the recovery code loops
> through lists of locks. The theory is that these lists become so
> long that looping through them triggers the softlockup watchdog.
> (usually on ia64, doesn't seem to happen often on other arch's).
>
> Signed-off-by: David Teigland <teigland at redhat.com>
I think we're encouraged to use cond_resched() instead these days. It has the
same effect but doesn't force a schedule if there is nothing else to run.
--
Patrick
More information about the Cluster-devel
mailing list