RE: stat64 for over 2TB file returned invalid st_blocks

From: Dave Kleikamp
Date: Wed Dec 07 2005 - 10:01:24 EST


On Wed, 2005-12-07 at 08:52 -0500, Trond Myklebust wrote:
> On Wed, 2005-12-07 at 19:57 +0900, Takashi Sato wrote:
>
> > On my previous mail, I said that CONFIG_LBD should not determine
> > whether large single files is enabled. But after further
> > consideration, on such a small system that CONFIG_LBD is disabled,
> > using large filesystem over network seems to be very rare.
> > So I think that the type of i_blocks should be sector_t.
>
> ???? Where do you get this misinformation from?

Without some kind of counter-example, I would tend to agree with
Takashi. In what scenerio would someone build a kernel with CONFIG_LBD
disabled, yet would be needing to access files > 2TB across the network?

Shaggy
--
David Kleikamp
IBM Linux Technology Center

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