Re: stat64 for over 2TB file returned invalid st_blocks

From: Dave Kleikamp
Date: Tue Dec 06 2005 - 09:51:18 EST


On Tue, 2005-12-06 at 09:48 -0500, Trond Myklebust wrote:
> On Tue, 2005-12-06 at 08:30 -0600, Dave Kleikamp wrote:
> > On Tue, 2005-12-06 at 21:42 +0900, Takashi Sato wrote:
> > > So I updated the patch. Any feedback and comments are welcome.
> >
> > I think it looks good. The only issue I have is that I agree with
> > Andreas that i_blocks should be of type sector_t. I find the case of
> > accessing very large files over nfs with CONFIG_LBD disabled to be very
> > unlikely.
>
> NO! sector_t is a block-device specific type. It does not belong in the
> generic inode.

OK. I withdraw my objection. The patch looks good to me.
--
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/