summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc3.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-04-11 23:18:16 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-04-11 23:18:16 -0700
commit94721b16208ad28b496807f0e8251d91f9ed0ba6 (patch)
tree4af0d8936fff54a2aff4090a100874cc616777ed /include/linux/compiler-gcc3.h
parent80b1573f2a01c5138a4f87d46fde2148864cb312 (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