patch-1.3.86 linux/mm/filemap.c

Next file: linux/mm/mmap.c
Previous file: linux/include/net/tcp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.85/linux/mm/filemap.c linux/mm/filemap.c
@@ -425,6 +425,7 @@
 	if (read) {
 		error = read;
 
+#ifdef WE_SHOULD_DO_SOME_EXTRA_CHECKS
 		/*
 		 * Start some extra read-ahead if we haven't already
 		 * read ahead enough..
@@ -434,6 +435,7 @@
 			ra_pos += PAGE_SIZE;
 		}
 		run_task_queue(&tq_disk);
+#endif
 
 		filp->f_pos = pos;
 		filp->f_reada = ra_pos;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this