[DRBD-cvs] drbd by phil; Commenting the horrors I wrote...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Fri, 23 Apr 2004 12:26:25 +0200 (CEST)


DRBD CVS committal

Author  : phil
Module  : drbd

Dir     : drbd/drbd


Modified Files:
      Tag: rel-0_7-branch
	drbd_actlog.c 


Log Message:
Commenting the horrors I wrote...

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/drbd/Attic/drbd_actlog.c,v
retrieving revision 1.1.2.88
retrieving revision 1.1.2.89
diff -u -3 -r1.1.2.88 -r1.1.2.89
--- drbd_actlog.c	23 Apr 2004 08:56:49 -0000	1.1.2.88
+++ drbd_actlog.c	23 Apr 2004 10:26:20 -0000	1.1.2.89
@@ -534,6 +534,9 @@
  * on disk location.
  *
  * @enr: The extent number of the bits we should write to disk.
+ *       ATTENTION: Based on AL_EXTENT_SIZE, although the chunk
+ *                  we write might represent more storage. 
+ *                  ( actually AL_EXTENT_SIZE*EXTENTS_PER_SECTOR )
  */
 STATIC void drbd_update_on_disk_bm(struct Drbd_Conf *mdev,unsigned int enr)
 {
@@ -575,8 +578,6 @@
 
 	mdev->bm_writ_cnt++;
 }
-#undef BM_WORDS_PER_EXTENT
-#undef EXTENTS_PER_SECTOR
 
 STATIC int w_update_odbm(drbd_dev *mdev, struct drbd_work *w, int unused)
 {