[PATCH] _isofs_bmap warning and readahead cache in 2.3

Vladimir Chernyshov (rush@ifdtung.if.ua)
Mon, 11 Oct 1999 09:50:59 +0300 (EEST)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--750911856-13256317-939624659=:22631
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hi
The readahead cache in development kernels often tries to get
additional blocks from block device without checking for the next block
to be inside file boundary. This cause annoying messages when reading
file from filesystem, that make additional checking itself.
Like this:

Oct 7 17:04:05 greengrass kernel: _isofs_bmap: block >= EOF (4, 5542)
Oct 7 17:04:05 greengrass kernel: _isofs_bmap: block >= EOF (5, 5542)
Oct 7 17:04:05 greengrass kernel: _isofs_bmap: block >= EOF (6, 5542)
Oct 7 17:04:05 greengrass kernel: _isofs_bmap: block >= EOF (7, 5542)

Seems, the check has been removed from mm/filemap.c some time ago.
Is it a bug or a feature?
If it's a bug, here's a patch...

Vladimir

P.S. Please CC replies to me.

--750911856-13256317-939624659=:22631
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=fm-patch
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.991011095059.22631B@alpha.ifdtung.if.ua>
Content-Description:

LS0tIGxpbnV4L21tL2ZpbGVtYXAuYy5vcmlnCU1vbiBTZXAgMjcgMTg6NDI6
MjQgMTk5OQ0KKysrIGxpbnV4L21tL2ZpbGVtYXAuYwlGcmkgT2N0ICA4IDAw
OjEwOjM0IDE5OTkNCkBAIC01MzQsOCArNTM0LDEzIEBADQogew0KIAl1bnNp
Z25lZCBsb25nIG5ld19wYWdlOw0KIAlzdHJ1Y3QgaW5vZGUgKmlub2RlID0g
ZmlsZS0+Zl9kZW50cnktPmRfaW5vZGU7DQotCXN0cnVjdCBwYWdlICoqIGhh
c2ggPSBwYWdlX2hhc2goaW5vZGUsIG9mZnNldCk7DQotCXN0cnVjdCBwYWdl
ICogcGFnZTsgDQorCXN0cnVjdCBwYWdlICoqIGhhc2g7DQorCXN0cnVjdCBw
YWdlICogcGFnZTsNCisNCisJaWYgKG9mZnNldCA+PSBpbm9kZS0+aV9zaXpl
KQ0KKwkJcmV0dXJuOw0KKw0KKwloYXNoID0gcGFnZV9oYXNoKGlub2RlLCBv
ZmZzZXQpOw0KIA0KIAlzcGluX2xvY2soJnBhZ2VjYWNoZV9sb2NrKTsNCiAJ
cGFnZSA9IF9fZmluZF9wYWdlX25vbG9jayhpbm9kZSwgb2Zmc2V0LCAqaGFz
aCk7IA0K
--750911856-13256317-939624659=:22631--

-
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/