lkml.org 
[lkml]   [1998]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2G file size limitation question
Date
> 32-bit byte offset field, but it could easily be made a 32-bit "sector"
> offset, for example, giving you 41 bits to play with. It could also be
> a 32-bit "page" offset, at which time you have 44 bits covered, but then
> you couldn't do 1kB-aligned file mappings any more (and those are used
> by some older binary formats).

The problem is given 64bits people will do sparse 64bit files. Really we
need to put 64bit values in the page cache, yet not take a performance hit
from this. It's also potentially only 40bits for people doing 512 byte
blocks on arbitary alignments.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.074 / U:0.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site