Don't read buffer heads which are beyond eof from disk. Speeds up
small sequential writes big time.
Modid: 2.3.99pre2-xfs:slinx:56073a
Date: Thu Mar 30 15:35:23 PST 2000
Workarea: clink.americas.sgi.com:/data/clink/io/lord/slinx-xfs-2.3.99pre2
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.3.99pre2-xfs
linux/fs/page_buf.c - 1.74
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/page_buf.c.diff?r1=text&tr1=1.74&r2=text&tr2=1.73&f=h
- Fix the prepare_write function so that it does not read buffers
beyond the end of file from disk. This fixes the AIM regression.
|