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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Takashi Sato" <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux