Messages in this thread | | | Date | Sat, 20 Mar 1999 13:34:10 -0500 (EST) | From | Alexander Viro <> | Subject | Re: 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/
| |