Re: [PATCH 3/3] Fix problems on multi-TB filesystem and file

From: Andrew Morton
Date: Thu Jan 12 2006 - 21:32:54 EST


"Takashi Sato" <sho@xxxxxxxxxxxxxx> wrote:
>
> his fix was proposed by Trond Myklebust. He says:
> The type "sector_t" is heavily tied in to the block layer interface
> as an offset/handle to a block, and is subject to a supposedly
> block-specific configuration option: CONFIG_LBD. Despite this, it is
> used in struct kstatfs to save a couple of bytes on the stack
> whenever we call the filesystems' ->statfs().
>
> So kstatfs's entries related to blocks are invalid on statfs64 for a
> network filesystem which has more than 2^32-1 blocks when CONFIG_LBD
> is disabled.
>

That makes sense, thanks.
-
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/