From: Mike S. <sh...@us...> - 2003-05-16 14:49:50
|
Update of /cvsroot/lustre/lustre/ldlm In directory sc8-pr-cvs1:/tmp/cvs-serv28479 Modified Files: Tag: b_devel ldlm_lockd.c Log Message: b=1289: need to wake the expired-locks thread when we add an expired lock to its work list. Index: ldlm_lockd.c =================================================================== RCS file: /cvsroot/lustre/lustre/ldlm/ldlm_lockd.c,v retrieving revision 1.131.2.29 retrieving revision 1.131.2.30 diff -u -w -b -B -p -r1.131.2.29 -r1.131.2.30 --- ldlm_lockd.c 16 May 2003 05:55:40 -0000 1.131.2.29 +++ ldlm_lockd.c 16 May 2003 14:49:46 -0000 1.131.2.30 @@ -155,12 +155,12 @@ static void waiting_locks_callback(unsig LDLM_DEBUG(lock, "timer expired"); - /* ptlrpc_fail_export must be called with this lock released */ spin_lock_bh(&expired_lock_thread.elt_lock); list_del(&lock->l_pending_chain); list_add(&lock->l_pending_chain, &expired_lock_thread.elt_expired_locks); spin_unlock_bh(&expired_lock_thread.elt_lock); + wake_up(&expired_lock_thread.elt_waitq); } spin_unlock_bh(&waiting_locks_spinlock); |