[DRBD-cvs] r1766 - branches/drbd-0.7/drbd

svn at svn.drbd.org svn at svn.drbd.org
Tue Mar 8 09:29:27 CET 2005


Author: phil
Date: 2005-03-08 09:29:24 +0100 (Tue, 08 Mar 2005)
New Revision: 1766

Modified:
   branches/drbd-0.7/drbd/drbd_int.h
   branches/drbd-0.7/drbd/drbd_main.c
Log:
The busy_blocks construct was replaces by the resync lru_cache,
long before drbd-0.7 became stable. Removed that little leftover.


Modified: branches/drbd-0.7/drbd/drbd_int.h
===================================================================
--- branches/drbd-0.7/drbd/drbd_int.h	2005-02-22 10:07:13 UTC (rev 1765)
+++ branches/drbd-0.7/drbd/drbd_int.h	2005-03-08 08:29:24 UTC (rev 1766)
@@ -815,7 +815,6 @@
 	int ee_vacant;
 	int ee_in_use;
 	wait_queue_head_t ee_wait;
-	struct list_head busy_blocks;
 	NOT_IN_26(struct tq_struct write_hint_tq;)
 	struct page *md_io_page;      // one page buffer for md_io
 	struct page *md_io_tmpp;     // in case hardsect != 512 [ s390 only? ]

Modified: branches/drbd-0.7/drbd/drbd_main.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_main.c	2005-02-22 10:07:13 UTC (rev 1765)
+++ branches/drbd-0.7/drbd/drbd_main.c	2005-03-08 08:29:24 UTC (rev 1766)
@@ -1373,7 +1373,6 @@
 	INIT_LIST_HEAD(&mdev->done_ee);
 	INIT_LIST_HEAD(&mdev->read_ee);
 	INIT_LIST_HEAD(&mdev->net_ee);
-	INIT_LIST_HEAD(&mdev->busy_blocks);
 	INIT_LIST_HEAD(&mdev->app_reads);
 	INIT_LIST_HEAD(&mdev->resync_reads);
 	INIT_LIST_HEAD(&mdev->data.work.q);
@@ -1493,7 +1492,6 @@
 	D_ASSERT(list_empty(&mdev->done_ee));
 	D_ASSERT(list_empty(&mdev->read_ee));
 	D_ASSERT(list_empty(&mdev->net_ee));
-	D_ASSERT(list_empty(&mdev->busy_blocks));
 	D_ASSERT(list_empty(&mdev->app_reads));
 	D_ASSERT(list_empty(&mdev->resync_reads));
 	D_ASSERT(list_empty(&mdev->data.work.q));



More information about the drbd-cvs mailing list