commit | 82c4660c756fba5eae289e6fbf03fab55393e3e2 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Nov 09 14:56:17 2002 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Nov 09 14:56:17 2002 -0500 |
tree | 330b6a300a5ec4835947acafd378796e8e48b5a8 | |
parent | 0c897a9012efb7d65244e25245c4b7318201d961 [diff] |
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.