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

[Cluster-devel] cluster/gfs-kernel/src/gfs lm.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	teigland sourceware org	2006-12-05 22:38:11

Modified files:
	gfs-kernel/src/gfs: lm.c 

Log message:
	Call into the lock module to do a withdraw instead of just calling BUG.
	bz 215962

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/lm.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.18&r2=1.18.4.1

--- cluster/gfs-kernel/src/gfs/lm.c	2006/09/20 18:48:56	1.18
+++ cluster/gfs-kernel/src/gfs/lm.c	2006/12/05 22:38:11	1.18.4.1
@@ -104,18 +104,18 @@
 	vprintk(fmt, args);
 	va_end(args);
 
-	printk("about to withdraw from the cluster\n");
-	BUG_ON(sdp->sd_args.ar_debug);
-	
+	printk("GFS: fsid=%s: about to withdraw from the cluster\n",
+	       sdp->sd_fsname);
 
-	printk("waiting for outstanding I/O\n");
+	BUG_ON(sdp->sd_args.ar_debug);
 
-	/* FIXME: suspend dm device so oustanding bio's complete
-	   and all further io requests fail */
+	printk("GFS: fsid=%s: telling LM to withdraw\n",
+	       sdp->sd_fsname);
 
-	printk("telling LM to withdraw\n");
 	gfs2_withdraw_lockproto(&sdp->sd_lockstruct);
-	printk("withdrawn\n");
+
+	printk("GFS: fsid=%s: withdrawn\n",
+	       sdp->sd_fsname);
 	dump_stack();
 
 	return -1;


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