Skip to contentSkip to conversation

cluster/dlm-kernel/src proc.c

Cluster-devel [email protected] 1 participant 1 message Jul 2, 2007

lore
Share & tools
lore
#0 lore raw

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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/src/proc.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.12.2.2&r2=1.12.2.3

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