[LTP] [PATCH] syscalls/fallocate04: Fix on Btrfs

Alexey Kodanev alexey.kodanev@oracle.com
Fri Aug 26 14:08:06 CEST 2016


Hi,
On 08/26/2016 02:17 PM, Stanislav Kholmanskikh wrote:
> Hi,
>
> On 08/25/2016 07:53 PM, Cyril Hrubis wrote:
>> The size of a file can double on Btrfs temporarily even when we write
>> into a preallocated space because of internal Btrfs caches, at least
>> that is what I've been told by Btrfs devs. The internal caches are then
>> freed after some time, or can be force freed by syncing the file, which
>> is what this patch does.

So if we have available free space x Mb,  we can't allocate more than x 
/ 2 Mb and it's not a bug?

Best regards,
Alexey



More information about the ltp mailing list