linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH - md 3 of 22 - Remove md_maxreadahead
@ 2002-06-19  0:47 Neil Brown
  0 siblings, 0 replies; only message in thread
From: Neil Brown @ 2002-06-19  0:47 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-raid



..as it is nolonger used.

 ----------- Diffstat output ------------
 ./drivers/md/md.c |    3 ---
 1 files changed, 3 deletions(-)

--- ./drivers/md/md.c	2002/06/18 03:26:36	1.3
+++ ./drivers/md/md.c	2002/06/18 03:31:03	1.4
@@ -106,7 +106,6 @@
  * subsystems want to have a pre-defined structure
  */
 struct hd_struct md_hd_struct[MAX_MD_DEVS];
-static int md_maxreadahead[MAX_MD_DEVS];
 static mdk_thread_t *md_recovery_thread;
 
 int md_size[MAX_MD_DEVS];
@@ -1579,7 +1578,6 @@
 		if (sb->level == -3)
 			readahead = 0;
 	}
-	md_maxreadahead[mdidx(mddev)] = readahead;
 
 	printk(KERN_INFO "md%d: max total readahead window set to %ldk\n",
 		mdidx(mddev), readahead*(PAGE_SIZE/1024));
@@ -3614,7 +3612,6 @@
 
 	for(i = 0; i < MAX_MD_DEVS; i++) {
 		md_size[i] = 0;
-		md_maxreadahead[i] = 32;
 	}
 	blk_size[MAJOR_NR] = md_size;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-19  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-19  0:47 PATCH - md 3 of 22 - Remove md_maxreadahead Neil Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).