we can. I tried this a month back, patched ext2_file_write to use
the page cache if possible rather than do the I/O. also put in a /proc
hook which showed how many I/Os we save. the result was a pathetic _32_
reads saved in a whole day of typical desktop activity (including kernel
compiles). you can of course write a program to read a block, write a byte,
read a block, write a byte etc., but such behaviour is quite rare in typical
unix environments.
anyway 2.3 shouldn't have this problem once the whole kludgy read-through-
pagecache-write-through-buffer-cache routine is replaced with
genetic_writepage and co.
ganesh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/