[DLM] schedule during long loop through locks
authorDavid Teigland <teigland@redhat.com>
Tue, 25 Jul 2006 19:05:09 +0000 (14:05 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 26 Jul 2006 12:42:57 +0000 (08:42 -0400)
commit81456807a33c2122e2f1f92acfbaaa77b3d06c3c
tree5b6d5ed0aa171d564e343b1c51105a79757506eb
parent2b4e926aab7c854a536beee6ba8b9a78a9e00316
[DLM] schedule during long loop through locks

The loop through all waiting locks in recover_waiters can potentially be
long, so we should schedule explicitly.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lock.c