[Ocfs2-commits] mfasheh commits r1408 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Aug 31 13:48:02 CDT 2004


Author: mfasheh
Date: 2004-08-31 13:48:00 -0500 (Tue, 31 Aug 2004)
New Revision: 1408

Modified:
   trunk/src/nm.c
Log:
* turn a log_error in process_vote into a printk as everyone is
  mis-interpreting it as an actual error when it only *may* be an error.



Modified: trunk/src/nm.c
===================================================================
--- trunk/src/nm.c	2004-08-31 17:52:08 UTC (rev 1407)
+++ trunk/src/nm.c	2004-08-31 18:48:00 UTC (rev 1408)
@@ -739,9 +739,11 @@
 		if (flags & FLAG_CHANGE_MASTER) {
 			if (ocfs_io_sem_write_trylock(inode, 
 						      (OCFS_NM_HEARTBEAT_TIME/2))) {
-				LOG_ERROR_ARGS("Could not get i/o lock on "
-					       "inode %llu, flags 0x%x\n",
-					       OCFS_I(inode)->ip_blkno, flags);
+#ifdef VERBOSE_PROCESS_VOTE
+				printk("process_vote: Could not get i/o lock "
+				       "on inode %llu, flags 0x%x\n",
+				       OCFS_I(inode)->ip_blkno, flags);
+#endif
 			} else 
 				have_io_sem = 1;
 		}



More information about the Ocfs2-commits mailing list