On 3/11/20 2:20 AM, Stefan Hajnoczi wrote: > Oh, I think I see what you mean. That is not how the term > "preallocated" is usually used in POSIX file systems. File systems > have sparse files by default and the term preallocation is used in the > context of fadvise(2) for reserving space. > > In this case I think you're saying the file cannot grow. That is > implicit since the BAR can't grow either so you could drop the comment > about preallocation.
Yes, there is no need to have file preallocated in POSIX meaning. Actaul requirement is to have file that is multiple of MiB and power-of-two in size. User may (but may not need to) use fallocate/fadvise to fulfill this requirement.