Description of problem: dlm_lock() and dlm_unlock() occasionally return an error (EINVAL) to gfs/lock_dlm which causes the machine to panic. The problem is that any number of conditions can lead to this and we have no way of knowing which it was. We would have a much better chance of diagnosing and fixing problems if a message was printed for each specific error condition. This is something we've wanted to do for a long time, but never gotten around to it. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL4 Changes by: teigland 2006-06-22 14:29:54 Modified files: dlm-kernel/src : locking.c Log message: Add a log_error() for every abnormal error/exit condition in dlm_lock() and dlm_unlock(). When gfs panics after it gets the error we can look back and see what the cause was.