<div dir="ltr">Hi,<div><br></div><div>I have a question regarding speculated preallocation in XFS, w.r.t kernel version: 3.16.0-46-generic.</div><div>I am using Swift version: 1.0 and mkfs.xfs version 3.2.1</div>
<div><br></div><div>When I write a 256KiB file to Swift, I see that the underlying XFS uses 3x the amount of space/blocks to write that data.</div><div>Upon performing detailed experiments, I see that when Swift uses fallocate (default approach), XFS doesn't reclaim the preallocated blocks that XFS allocated. Swift fallocate doesn't exceed the body size(256 KiB).</div><div><br></div><div>Interestingly, when either allocsize=4k or when swift doesn't use fallocate, XFS doesn't consume additional space.</div><div><br></div><div>Can you please let me know if this is a known bug and if its fixed in the later versions?</div><div><br></div><div>Thanks & Regards,</div><div>Dilip</div>
</div>