lkml.org 
[lkml]   [1999]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: breaking the 2Gigabyte limit on 32 bit arch of inode->i_size (off_t vs loff_t)


On Sat, 20 Mar 1999, Andrea Arcangeli wrote:

> I did a little count:
>
> - 256 block indexed in a blocksize of 1k
> - 12 direct block
> - 1 indirect, 1 double-indirect, 1 triple-indirect
>
> so the number of blocks we'll be able to address once we'll broke the
> i_size limit will be:
>
> 12 + 256 + 256^2 + 256^3 -> 16843020
>
> Considering blocksize = 1k we'll be able to address only 16giga according
> to me. So I'll add a quad level of indirection. This will give as a view

Or we can use 4k blocks and get 256 times more than that. I.e.
same 4Tb.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.387 / U:0.404 seconds]
©2003-2011 Jasper Spaans. Advertise on this site