summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-06-18 04:15:40 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-18 04:15:40 -0700
commit7fa418f73309c6a8de3b3aafe290985b2e549ade (patch)
tree06b2044156767968d62b075a3a5bce73edceccdc /drivers
parenta0edc56a534b3528d85a585629846826c19c5703 (diff)
[PATCH] md 3 of 22 - Remove md_maxreadahead
..as it is nolonger used.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/md/md.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 0cf3192212af..b51466b64a49 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -106,7 +106,6 @@ static ctl_table raid_root_table[] = {
* 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 @@ static int device_size_calculation(mddev_t * mddev)
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 @@ static void md_geninit(void)
for(i = 0; i < MAX_MD_DEVS; i++) {
md_size[i] = 0;
- md_maxreadahead[i] = 32;
}
blk_size[MAJOR_NR] = md_size;