Guy Harris wrote:
2^44 bytes
...i.e., 16TB.
Actually it is 8TB at present.
(2^32 4K file system blocks).
I'm not sure why the limit is only 2^44, as the size of a file system block pointer shouldn't affect the maximum file size, given that we *do* support holey files, but that's what the limit is in the code.
The 8TB restriction is due to the fact that currently in the code a kernel variable used to store the block number within a file is of type signed integer (8TB = 4KB * (2^31 - 1) ). This block number corresponds to the offset of the block within the file, so irrespective of whether the file is holey or not the file size is limited to 8TB.
Rajesh