cluster/dlm-kernel/src proc.c
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: teigland at sourceware.org 2007-07-02 13:53:28
Modified files:
dlm-kernel/src : proc.c
Log message:
Print the owner pid of each lock when dumping /proc/cluster/dlm_locks. This changes the format of the proc output in case anyone is parsing it.
dlm-kernel/src/Attic/proc.c +2 -0
@@ -232,6 +232,8 @@ || lkb->lkb_status == GDLM_LKSTS_WAITING)seq_printf (s," (%s)" ,print_lockmode (lkb->lkb_rqmode)); +seq_printf (s," %u" , lkb->lkb_ownpid); +if (lkb->lkb_range) {/* This warns on Alpha. Tough. Only I see it */ if (lkb->lkb_status == GDLM_LKSTS_CONVERT