diff options
author | Andrew Morton <akpm@osdl.org> | 2004-04-11 23:18:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-04-11 23:18:16 -0700 |
commit | 94721b16208ad28b496807f0e8251d91f9ed0ba6 (patch) | |
tree | 4af0d8936fff54a2aff4090a100874cc616777ed /include/linux/compiler-gcc3.h | |
parent | 80b1573f2a01c5138a4f87d46fde2148864cb312 (diff) |
[PATCH] Fix logic in filemap_nopage()
The filempa_nopage() logic will go into a tight loop if
do_page_cache_readahead() doesn't actually start I/O against the target page.
This can happen if the disk is read-congested, or if the filesystem doesn't
want to read that part of the file for some reason.
We will accidentally break out of the loop because
(ra->mmap_miss > ra->mmap_hit + MMAP_LOTSAMISS)
will eventually become true.
Fix that up.
Diffstat (limited to 'include/linux/compiler-gcc3.h')
0 files changed, 0 insertions, 0 deletions