commit | 3b30bbd963ac2606b0377b39c9d148d6eeef7dce | [log] [tgz] |
---|---|---|
author | Steven Pratt <slpratt@austin.ibm.com> | Tue Sep 06 15:17:06 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Wed Sep 07 16:57:25 2005 -0700 |
tree | 40365e8055cf698f39c2e5891fbca375dea7ce76 | |
parent | e139aa595c5d3bd01699530cbe017dec75fdb07f [diff] |
[PATCH] readahead: reset cache_hit earlier We don't reset the cache hit count until after readahead does a successful readahead. This seems to leave a corner case open where we miss in cache, but don't restart the readhead right away. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>