lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH try #1] Kconfig: cleanup block/Kconfig help descriptions
On Sun, Mar 15, 2009 at 08:15:04PM -0700, don fisher wrote:
> Nick,
>
> I am trying to configure a linux-2.6.28.7 kernel.
>
> Please explain why the switch for large block devices should be !64BIT.
> I have a 64BIT system and currently cannot generate files greater than
> 2TB. Is this the problem? Should this be true for 64BIT systems?

Sorry I didn't see this email earlier.

Probably due to this:

#ifdef CONFIG_LBD
typedef u64 sector_t;
typedef u64 blkcnt_t;
#else
typedef unsigned long sector_t;
typedef unsigned long blkcnt_t;
#endif

With a 64-bit machine, your sector_t and blkcnt_t are already 64 bits
wide, so CONFIG_LBD is not required.

Nick.


\
 
 \ /
  Last update: 2009-04-07 14:43    [from the cache]
©2003-2011 Jasper Spaans