[DRBD-cvs] svn commit by phil - r2736 - trunk/drbd - Fix for the comment.

drbd-cvs at lists.linbit.com drbd-cvs at lists.linbit.com
Wed Jan 31 15:06:30 CET 2007


Author: phil
Date: 2007-01-31 15:06:28 +0100 (Wed, 31 Jan 2007)
New Revision: 2736

Modified:
   trunk/drbd/drbd_actlog.c
Log:
Fix for the comment.


Modified: trunk/drbd/drbd_actlog.c
===================================================================
--- trunk/drbd/drbd_actlog.c	2007-01-31 13:47:17 UTC (rev 2735)
+++ trunk/drbd/drbd_actlog.c	2007-01-31 14:06:28 UTC (rev 2736)
@@ -625,8 +625,9 @@
 	atomic_inc(&wc->count);
 	/* we already know that we may do this...
 	 * inc_local_if_state(mdev,Attaching);
-	 * so just get the extra reference for the fun of it,
-	 * but do so directly.
+	 * so just get the extra reference, so that the local_cnt 
+	 * reflects the number of pending IO requests DRBD at its
+	 * backing device.
 	 */
 	atomic_inc(&mdev->local_cnt);
 	return 0;



More information about the drbd-cvs mailing list