Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.16 /drivers/md/md.c

Filename:/drivers/md/md.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.16-pre1  2.4.14  2.4.14-pre8  2.4.14-pre7  2.4.14-pre6  2.4.14-pre5 
(Following) 2.4.17-rc2  2.4.17  2.4.18-pre4  2.4.18-pre5  2.4.18-pre6  2.4.18-pre7 

Location
[  2.4.16
  [  drivers
    [  md
       o  md.c

Patch

diff -Nur linux-2.4.15/drivers/md/md.c linux/drivers/md/md.c
--- linux-2.4.15/drivers/md/md.c   Thu Oct 25 18:58:34 2001
+++ linux/drivers/md/md.c   Sat Nov 24 16:22:06 2001
@@ -3398,7 +3398,7 @@
    /*
     * Tune reconstruction:
     */
-   window = MAX_READAHEAD*(PAGE_SIZE/512);
+   window = vm_max_readahead*(PAGE_SIZE/512);
    printk(KERN_INFO "md: using %dk window, over a total of %d blocks.\n",
           window/2,max_sectors/2);
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.