Re: [PATCH 6/7] xfs: Extend data extent counter to 47 bits

Christoph Hellwig
2020-06-19T16:50:20Z

On Sat, Jun 06, 2020 at 01:57:44PM +0530, Chandan Babu R wrote:
> This commit extends the per-inode data extent counter to 47 bits. The
> length of 47-bits was chosen because,
> Maximum file size = 2^63.
> Maximum extent count when using 64k block size = 2^63 / 2^16 = 2^47.

What is the use case for a large nuber of extents? I'm not sure why
we'd want to bother, but if there is a good reason it really should
be documented here.