allocsize mount option

Ivan.Novick at emc.com Ivan.Novick at emc.com
Tue Sep 28 13:53:46 CDT 2010


Hi all,

According to the documentation the allocsize mount option: "Sets the
buffered I/O end-of-file preallocation size when doing delayed allocation
writeout"

Will this value limit "extent" sizes to be be no smaller than the allocsize?

I have set the following mount options:
(rw,noatime,nodiratime,logbufs=8,allocsize=512m)

And yet, depending on the workload, the extent sizes are often 1 or 2 orders
of magnitude lower than 512 MB ...

If I wanted to do further reading on the subject, can someone point me to an
approximate location in the code where the size of a newly created extent is
determined?

Cheers,
Ivan Novick




More information about the xfs mailing list