[md PATCH 01/28] md: remove some dead fields from mddev_s

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: NeilBrown
Date: Wednesday, April 14, 2010 - 11:21 pm

These fields have never been used.
commit 4b6d287f627b5fb6a49f78f9e81649ff98c62bb7
added them, but also added identical files to bitmap_super_s,
and only used the latter.

So remove these unused fields.

Signed-off-by: NeilBrown <neilb@suse.de>
---
 drivers/md/md.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/md/md.h b/drivers/md/md.h
index 8e4c75c..4dc6252 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -279,9 +279,6 @@ struct mddev_s
 	atomic_t			writes_pending; 
 	struct request_queue		*queue;	/* for plugging ... */
 
-	atomic_t                        write_behind; /* outstanding async IO */
-	unsigned int                    max_write_behind; /* 0 = sync */
-
 	struct bitmap                   *bitmap; /* the bitmap for the device */
 	struct {
 		struct file		*file; /* the bitmap file */


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[md PATCH 01/28] md: remove some dead fields from mddev_s, NeilBrown, (Wed Apr 14, 11:21 pm)
[md PATCH 20/28] md: start to refactor do_md_stop, NeilBrown, (Wed Apr 14, 11:21 pm)