[Ocfs2-commits] mfasheh commits r787 - in trunk: . src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Mar 17 16:16:28 CST 2004
Author: mfasheh
Date: 2004-03-17 16:16:26 -0600 (Wed, 17 Mar 2004)
New Revision: 787
Modified:
trunk/Config.make.in
trunk/configure.in
trunk/src/Makefile
Log:
* include a patch by Rusty Lynch:
The following patch just enables existing lock resource debug code
that already exist in ocfs.h.
Modified: trunk/Config.make.in
===================================================================
--- trunk/Config.make.in 2004-03-17 21:31:04 UTC (rev 786)
+++ trunk/Config.make.in 2004-03-17 22:16:26 UTC (rev 787)
@@ -60,6 +60,7 @@
OCFS_LARGEIO = @OCFS_LARGEIO@
OCFS_AIO = @OCFS_AIO@
OCFS_MEMDEBUG = @OCFS_MEMDEBUG@
+OCFS_DBG_LOCKRES = @OCFS_DBG_LOCKRES@
OCFS_TRACE = @OCFS_TRACE@
OCFS_PROCESSOR = @OCFS_PROCESSOR@
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2004-03-17 21:31:04 UTC (rev 786)
+++ trunk/configure.in 2004-03-17 22:16:26 UTC (rev 787)
@@ -110,6 +110,15 @@
AC_SUBST(OCFS_MEMDEBUG)
AC_MSG_RESULT($enable_memdebug)
+AC_MSG_CHECKING(for lockres debugging)
+AC_ARG_ENABLE(lockres-debug, [ --enable-lockres-debug=[yes/no] Turn on lock resource debugging [default=no]],,enable_lockres_debug=no)
+OCFS_DBG_LOCKRES=
+if test "x$enable_lockres_debug" = "xyes"; then
+ OCFS_DBG_LOCKRES=yes
+fi
+AC_SUBST(OCFS_DBG_LOCKRES)
+AC_MSG_RESULT($enable_lockres_debug)
+
AC_MSG_CHECKING(for tracing)
AC_ARG_ENABLE(trace, [ --enable-trace=[yes/no] Turn on tracing [default=yes]],,enable_trace=yes)
OCFS_TRACE=
Modified: trunk/src/Makefile
===================================================================
--- trunk/src/Makefile 2004-03-17 21:31:04 UTC (rev 786)
+++ trunk/src/Makefile 2004-03-17 22:16:26 UTC (rev 787)
@@ -33,6 +33,10 @@
GLOBAL_DEFINES += -DOCFS_LINUX_MEM_DEBUG -DDEBUG_SLAB_ALLOCS
endif
+ifdef OCFS_DBG_LOCKRES
+GLOBAL_DEFINES += -DOCFS_DBG_LOCKRES
+endif
+
ifdef OCFS_AIO
GLOBAL_DEFINES += -DAIO_ENABLED
endif
More information about the Ocfs2-commits
mailing list