]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[DLM] timeout fixes
authorDavid Teigland <teigland@redhat.com>
Tue, 29 May 2007 13:44:23 +0000 (08:44 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:22:52 +0000 (08:22 +0100)
commit84d8cd69a8e7f1c9962f46bc79850c9f1f663806
tree4c0cedc62e7b94ba2aaa1ea9faeb7de074e08e08
parentb3cab7b9a34a6e65c1ca8f80fb57b256d57e8555
[DLM] timeout fixes

Various fixes related to the new timeout feature:
- add_timeout() missed setting TIMEWARN flag on lkb's when the
  TIMEOUT flag was already set
- clear_proc_locks should remove a dead process's locks from the
  timeout list
- the end-of-life calculation for user locks needs to consider that
  ETIMEDOUT is equivalent to -DLM_ECANCEL
- make initial default timewarn_cs config value visible in configfs
- change bit position of TIMEOUT_CANCEL flag so it's not copied to
  a remote master node
- set timestamp on remote lkb's so a lock dump will display the time
  they've been waiting

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