Re: Linux 3.7-rc8

From: Linus Torvalds
Date: Mon Dec 03 2012 - 18:14:34 EST


On Mon, Dec 3, 2012 at 3:07 PM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I guess I need to try harder. I'm guessing that there's a 4kB
> filesystem there, and the block device size isn't 4kB-aligned or
> something.

Anyway, to clarify: the printk's are harmless, since the IO past the
end of the device is just error'ed out, and always has been. Which is
why I was considering just removing them.

At the same time, those printk's have historically been useful for
finding unrelated bugs (ie filesystem corruption etc that causes
insane accesses) and there is the issue of the difference between EOF
and EIO return values, so I've been trying to trigger this for normal
read/writes to make sure that there wasn't anything going on there.
All of the paths I've looked at seem to look at the inode size, but
clearly I missed some.

I bet it's read-ahead together with something particular that allows
you to trigger it.

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