Whamcloud - gitweb
b=2322
authorphil <phil>
Wed, 3 Dec 2003 10:58:26 +0000 (10:58 +0000)
committerphil <phil>
Wed, 3 Dec 2003 10:58:26 +0000 (10:58 +0000)
commit4155844f40cb2ba58d794c1091af090d80eca102
treef62a00ea4fb3c0d797c3a215f1d99ca912279536
parent84ce71f54a3708083a66d7de4b41bedbe1f2a30e
b=2322
In ldlm_process_{plain,extent}_lock, we used to remove and re-add the
lock to the waiting list after every -ERESTART loop.  But because of
the logic in the ldlm_*_compat_queue functions, in a very rare case,
this could lead to lock re-ordering and subsequent deadlock.
lustre/ChangeLog
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_plain.c