[DRBD-cvs] svn commit by phil - r3077 - in branches/drbd-8.2: . debian documentation drbd/linux user - Preparing the 8.2 release.

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Fri Sep 28 12:38:18 CEST 2007


Author: phil
Date: 2007-09-28 12:38:10 +0200 (Fri, 28 Sep 2007)
New Revision: 3077

Modified:
   branches/drbd-8.2/ChangeLog
   branches/drbd-8.2/debian/changelog
   branches/drbd-8.2/documentation/drbd.conf.sgml
   branches/drbd-8.2/documentation/drbdsetup.sgml
   branches/drbd-8.2/drbd.spec.in
   branches/drbd-8.2/drbd/linux/drbd_config.h
   branches/drbd-8.2/user/drbdadm_scanner.fl
Log:
Preparing the 8.2 release.


Modified: branches/drbd-8.2/ChangeLog
===================================================================
--- branches/drbd-8.2/ChangeLog	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/ChangeLog	2007-09-28 10:38:10 UTC (rev 3077)
@@ -4,6 +4,16 @@
  Cumulative changes since last tarball.
  For even more detail, use "svn log" and "svn diff".
 
+8.2.0 (api:86/proto:86-87)
+--------
+ * Branch for new features after 8.1 and 8.0. We will do a number of
+   features that do not fiddle with the general architecture of DRBD.
+   This will be like the the current Linux-2.6 development model.
+ * Implemented the data-integrity-alg option. When this is set to
+   one of the kernel's hash algorithms, such a hash is shipped with
+   every user-data carrying packet. In case user-data is corrupted
+   on the network DRBD protests by dropping the connection.
+
 8.1.0 (api:86/proto:86)
 --------
  * NOT YET RELEASED

Modified: branches/drbd-8.2/debian/changelog
===================================================================
--- branches/drbd-8.2/debian/changelog	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/debian/changelog	2007-09-28 10:38:10 UTC (rev 3077)
@@ -1,3 +1,9 @@
+drbd8 (8.2.0-0) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Philipp Reisner <phil at linbit.com>  Fri, 28 Sep 2007 12:15:07 +0200
+
 drbd8 (8.0.6-0) unstable; urgency=low
 
   * New upstream release.

Modified: branches/drbd-8.2/documentation/drbd.conf.sgml
===================================================================
--- branches/drbd-8.2/documentation/drbd.conf.sgml	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/documentation/drbd.conf.sgml	2007-09-28 10:38:10 UTC (rev 3077)
@@ -203,7 +203,7 @@
     <option>ko-count</option>, <option>allow-two-primaries</option>,
     <option>cram-hmac-alg</option>, <option>shared-secret</option>,
     <option>after-sb-0pri</option>, <option>after-sb-1pri</option>,
-    <option>after-sb-2pri</option>
+    <option>after-sb-2pri</option>, <option>data-integrity-alg</option>
   </para>
   </listitem>
 </varlistentry>
@@ -808,6 +808,24 @@
 </varlistentry>
 
 <varlistentry>
+  <term><option>data-integrity-alg </option><replaceable>alg</replaceable></term>
+	  <listitem>
+  <indexterm><primary>drbd.conf</primary><secondary>data-integrity-alg</secondary></indexterm>
+	    <para>
+	      DRBD can ensure the data integrity of the user's data on the network
+	      by comparing hash values. Normally this is ensured by the 16 bit checksums 
+	      in the headers of TCP/IP packets. Unforunately it turned out that GBit NICs 
+	      with various offloading engines might produce valid checksums for corrupted 
+	      data. Use this option during your pre-production tests, usually you
+	      want to turn it off for production to reduce CPU overhead. This option
+	      can be set to any of the kerne's data digest algorithms.
+	      By default this is not enabled.
+	    </para>
+	  </listitem>
+</varlistentry>
+
+
+<varlistentry>
   <term><option>wfc-timeout <replaceable>time</replaceable></option></term>
   <listitem><para>Wait for connection timeout.
   <indexterm><primary>drbd.conf</primary><secondary>wfc-timeout </secondary></indexterm>

Modified: branches/drbd-8.2/documentation/drbdsetup.sgml
===================================================================
--- branches/drbd-8.2/documentation/drbdsetup.sgml	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/documentation/drbdsetup.sgml	2007-09-28 10:38:10 UTC (rev 3077)
@@ -53,6 +53,7 @@
       <arg>-R<arg choice="req"><replaceable>role-resync-conflict-policy</replaceable></arg></arg>
       <arg>-p<arg choice="req"><replaceable>ping_timeout</replaceable></arg></arg>
       <arg>-u<arg choice="req"><replaceable>val</replaceable></arg></arg>
+      <arg>-d<arg choice="req"><replaceable>hash_alg</replaceable></arg></arg>
 
 
     </cmdsynopsis>
@@ -676,6 +677,23 @@
 	</varlistentry>
 
 	<varlistentry>
+	  <term><option>-d</option>,
+	  <option>--data-integrity-alg </option><replaceable>hash_alg</replaceable></term>
+	  <listitem>
+	    <para>
+	      DRBD can ensure the data integrity of the user's data on the network
+	      by comparing hash values. Normally this is ensured by the 16 bit checksums 
+	      in the headers of TCP/IP packets. Unforunately it turned out that GBit NICs 
+	      with various offloading engines might produce valid checksums for corrupted 
+	      data. Use this option during your pre-production tests, usually you
+	      want to turn it off for production to reduce CPU overhead. This option
+	      can be set to any of the kerne's data digest algorithms.
+	      By default this is not enabled.
+	    </para>
+	  </listitem>
+	</varlistentry>
+
+	<varlistentry>
 	  <term><option>-p</option>,
 	  <option>--ping-timeout </option><replaceable>ping_timeout</replaceable></term>
 	  <listitem>

Modified: branches/drbd-8.2/drbd/linux/drbd_config.h
===================================================================
--- branches/drbd-8.2/drbd/linux/drbd_config.h	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/drbd/linux/drbd_config.h	2007-09-28 10:38:10 UTC (rev 3077)
@@ -22,7 +22,7 @@
 
 extern const char *drbd_buildtag(void);
 
-#define REL_VERSION "8.2.0-nqty" /* not quite there yet */
+#define REL_VERSION "8.2.0"
 #define API_VERSION 86
 #define PRO_VERSION_MIN 86
 #define PRO_VERSION_MAX 87

Modified: branches/drbd-8.2/drbd.spec.in
===================================================================
--- branches/drbd-8.2/drbd.spec.in	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/drbd.spec.in	2007-09-28 10:38:10 UTC (rev 3077)
@@ -192,6 +192,16 @@
 /sbin/depmod -a -F /boot/System.map-%{kernelversion} %{kernelversion} >/dev/null 2>&1 || true
 
 %changelog
+* Fri Sep 28 2007 12:15:07 +0200 Philipp Reisner <phil at linbit.com>
+- drbd (8.2.0-1)
+ * Branch for new features after 8.1 and 8.0. We will do a number of
+   features that do not fiddle with the general architecture of DRBD.
+   This will be like the the current Linux-2.6 development model.
+ * Implemented the data-integrity-alg option. When this is set to
+   one of the kernel's hash algorithms, such a hash is shipped with
+   every user-data carrying packet. In case user-data is corrupted
+   on the network DRBD protests by dropping the connection.
+
 * Mon Sep  3 2007 10:00:00 +0200 Philipp Reisner <phil at linbit.com>
 - drbd (8.0.6-1)
  * Fixed DRBD to not deadlock while doing bitmap updates on Linux

Modified: branches/drbd-8.2/user/drbdadm_scanner.fl
===================================================================
--- branches/drbd-8.2/user/drbdadm_scanner.fl	2007-09-28 09:20:58 UTC (rev 3076)
+++ branches/drbd-8.2/user/drbdadm_scanner.fl	2007-09-28 10:38:10 UTC (rev 3077)
@@ -100,6 +100,7 @@
 outdate-peer		{ DP; CP; return TK_HANDLER_OPTION;	}
 local-io-error		{ DP; CP; return TK_HANDLER_OPTION;     }
 memlimit		{ DP; CP; return TK_PROXY_OPTION;       }
+read-loops		{ DP; CP; return TK_PROXY_OPTION;       }
 {IPV4ADDR}		{ DP; CP; return TK_IPADDR;		}
 {NUM}			{ DP; CP; return TK_INTEGER;		}
 {DQSTRING}		{ unescape(); DP; CP; return TK_STRING;	}



More information about the drbd-cvs mailing list