]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit - lib/ext2fs/unix_io.c
unix_io.c (find_cached_block, reuse_cache, unix_read_blk,
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Nov 2002 19:56:17 +0000 (14:56 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Nov 2002 19:56:17 +0000 (14:56 -0500)
commit82c4660c756fba5eae289e6fbf03fab55393e3e2
tree330b6a300a5ec4835947acafd378796e8e48b5a8
parent0c897a9012efb7d65244e25245c4b7318201d961
unix_io.c (find_cached_block, reuse_cache, unix_read_blk,
unix_write_blk): Optimize routines so that we don't end up
searching the cache twice when a block isn't in the
cache.  If reads are larger than READ_DIRECT_SIZE, don't
let them go through the cache.
lib/ext2fs/ChangeLog
lib/ext2fs/unix_io.c