patch-2.3.26 linux/include/linux/blkdev.h

Next file: linux/include/linux/cdrom.h
Previous file: linux/include/linux/bfs_fs_sb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.25/linux/include/linux/blkdev.h linux/include/linux/blkdev.h
@@ -83,12 +83,9 @@
 #define MAX_SEGMENTS MAX_SECTORS
 
 #define PageAlignSize(size) (((size) + PAGE_SIZE -1) & PAGE_MASK)
-#if 0  /* small readahead */
-#define MAX_READAHEAD PageAlignSize(4096*7)
-#define MIN_READAHEAD PageAlignSize(4096*2)
-#else /* large readahead */
-#define MAX_READAHEAD PageAlignSize(4096*31)
-#define MIN_READAHEAD PageAlignSize(4096*3)
-#endif
+
+/* read-ahead in pages.. */
+#define MAX_READAHEAD	31
+#define MIN_READAHEAD	3
 
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)