- fix ia64 OOPS in llog_test (2255)
- zero end of page at obdfilter for partial page writes (2648)
- don't leave stale dentries around after renames (bug 2428)
+ - fix timeouts when evicting a client with a single lock held (2642)
+ - set deadline for the initial HELLO message to drain (2634)
2004-01-27 Cluster File Systems, Inc. <info@clusterfs.com>
* version 1.0.3
wake_up(&expired_lock_thread.elt_waitq);
}
+ /*
+ * Make sure the timer will fire again if we have any locks
+ * left.
+ */
+ if (!list_empty(&waiting_locks_list)) {
+ unsigned long timeout_rounded;
+ lock = list_entry(waiting_locks_list.next, struct ldlm_lock,
+ l_pending_chain);
+ timeout_rounded = round_timeout(lock->l_callback_timeout);
+ mod_timer(&waiting_locks_timer, timeout_rounded);
+ }
spin_unlock_bh(&waiting_locks_spinlock);
}
round_timeout(next->l_callback_timeout));
}
}
+
+ spin_lock_bh(&expired_lock_thread.elt_lock);
list_del_init(&lock->l_pending_chain);
+ spin_unlock_bh(&expired_lock_thread.elt_lock);
+
spin_unlock_bh(&waiting_locks_spinlock);
LDLM_DEBUG(lock, "removed");
return 1;