[Cluster-devel] cluster/gfs-kernel/src/gfs lm.c
wcheng at sourceware.org
wcheng at sourceware.org
Mon Nov 27 17:42:07 UTC 2006
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: wcheng at sourceware.org 2006-11-27 17:42:07
Modified files:
gfs-kernel/src/gfs: lm.c
Log message:
bugzilla : 217374 - temporarily disable GFS1 withdraw until bz215962 is ready.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/lm.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.18&r2=1.18.2.1
--- cluster/gfs-kernel/src/gfs/lm.c 2006/09/20 18:48:56 1.18
+++ cluster/gfs-kernel/src/gfs/lm.c 2006/11/27 17:42:06 1.18.2.1
@@ -104,10 +104,18 @@
vprintk(fmt, args);
va_end(args);
+#if !defined(BZ_215962)
+ /*
+ * Temporarily disable GFS1 withdraw function until bz215962
+ * is ready.
+ */
+ printk("GFS: fsid=%s: about to withdraw from the cluster\n",
+ sdp->sd_fsname);
+ BUG();
+#else
printk("about to withdraw from the cluster\n");
BUG_ON(sdp->sd_args.ar_debug);
-
printk("waiting for outstanding I/O\n");
/* FIXME: suspend dm device so oustanding bio's complete
@@ -117,6 +125,7 @@
gfs2_withdraw_lockproto(&sdp->sd_lockstruct);
printk("withdrawn\n");
dump_stack();
+#endif
return -1;
}
More information about the Cluster-devel
mailing list