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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Oct 7 17:42:34 CDT 2004


Author: mfasheh
Date: 2004-10-07 17:42:32 -0500 (Thu, 07 Oct 2004)
New Revision: 1557

Modified:
   trunk/src/journal.c
Log:
* make ocfs_extend_trans less verbose



Modified: trunk/src/journal.c
===================================================================
--- trunk/src/journal.c	2004-10-07 22:39:31 UTC (rev 1556)
+++ trunk/src/journal.c	2004-10-07 22:42:32 UTC (rev 1557)
@@ -804,7 +804,7 @@
 
 	LOG_ENTRY();
 
-	printk("Trying to extend transaction by %d blocks\n", nblocks);
+	LOG_TRACE_ARGS("Trying to extend transaction by %d blocks\n", nblocks);
 
 	status = journal_extend(handle->k_handle, nblocks);
 	if (status < 0) {
@@ -813,7 +813,8 @@
 	}
 
 	if (status > 0) {
-		printk("journal_extend failed, trying journal_restart\n");
+		LOG_TRACE_STR("journal_extend failed, "
+			      "trying journal_restart\n");
 		status = journal_restart(handle->k_handle, nblocks);
 		if (status < 0) {
 #warning we need to handle this better



More information about the Ocfs2-commits mailing list