lkml.org 
[lkml]   [1999]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectBUG(?) read-ahead way past end of file?
From
Date

Hi,

On 2.3.18, when copying files off of a CD, I get lots of

Sep 16 16:13:31 banzai3 kernel: _isofs_bmap: block >= EOF (1726, 3532800)
Sep 16 16:13:31 banzai3 kernel: _isofs_bmap: block >= EOF (1727, 3532800)
Sep 16 16:13:31 banzai3 kernel: _isofs_bmap: block >= EOF (1728, 3532800)
[...]
Sep 16 16:13:32 banzai3 kernel: _isofs_bmap: block >= EOF (1761, 3532800)

The messages come from a warning in fs/isofs/inode.c about trying to
get a block beyond the end of the file. After looking through the
code, it seems clear that this is caused by the read-ahead code in
mm/filemap.c, which doesn't seem to pay enough attention to
inode->i_size.

Of course, I can just delete the warning, but that's probably just
fixing the symptom. I'm not at all familiar with the
page-cache/read-ahead stuff, so I ask the gurus: is this supposed
to be this way?

N.B., this doesn't seem to be isolated to isofs, it just so happens
that isofs outputs a warning...


Todd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.227 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site