[DRBD-cvs] r1537 - trunk/drbd/linux
svn at svn.drbd.org
svn at svn.drbd.org
Thu Sep 9 19:39:02 CEST 2004
Author: phil
Date: 2004-09-09 19:38:59 +0200 (Thu, 09 Sep 2004)
New Revision: 1537
Modified:
trunk/drbd/linux/drbd_config.h
Log:
Reenabled the use of sendpage() by default.
Modified: trunk/drbd/linux/drbd_config.h
===================================================================
--- trunk/drbd/linux/drbd_config.h 2004-09-09 17:32:58 UTC (rev 1536)
+++ trunk/drbd/linux/drbd_config.h 2004-09-09 17:38:59 UTC (rev 1537)
@@ -28,26 +28,6 @@
//#define DBG_ALL_SYMBOLS // no static functs, improves quality of OOPS traces
-//-------------------------------
-/*
- * FIXME
- * This is not yet understood.
- * Seemingly DRBD and RedHat kernel do not like each other.
- * Maybe the issue shows with other kernels too.
- *
- * In any case, we default to NOT using sendpage, to be on the safe side.
- *
- * Out tests with kernel.org/debian/SuSE 2.6. kernel showed no problems
- * with sendpage, and it inceases performance.
- *
- * If you did your own tests, or you are a vendor and really know that it
- * does not affect your kernel, comment it out.
- *
- */
-#define DRBD_DISABLE_SENDPAGE
-//-------------------------------
-
-
//#define DBG_SPINLOCKS // enables MUST_HOLD macro (assertions for spinlocks)
//#define DBG_ASSERTS // drbd_assert_breakpoint() function
//#define DUMP_MD 1 // Dump metadata to syslog upon connect
@@ -86,4 +66,9 @@
// Dump every hour the usage / not usage of zero copy IO
//#define SHOW_SENDPAGE_USAGE
+// You can disable the use of the sendpage() call (= zero copy
+// IO ) If you have the feeling that this might be the cause
+// for troubles.
+// #define DRBD_DISABLE_SENDPAGE
+
#endif
More information about the drbd-cvs
mailing list