[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/dlm-kernel/src proc.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	teigland 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

--- cluster/dlm-kernel/src/Attic/proc.c	2007/05/30 18:04:17	1.12.2.2
+++ cluster/dlm-kernel/src/Attic/proc.c	2007/07/02 13:53:28	1.12.2.3
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]