Re: Samba strict allocate = yes stops btrfs compression working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 22, 2013 at 09:57:24AM +0000, Mark Ridley wrote:
> Hi,
> 
> If i set strict allocate = yes in samba to speed up the transfer
> of a mssql database dump,
> then btrfs does not compress the file. 
> I have tried it also by just copying a small file in Windows to the 
> samba share and the same.
> I have tried btrfs mount options autodefrag and then
>  btrfs fi defrag -c and the file still does not get compressed.
> 
> I have tried kernels 3.6.11, 3.8 and 3.10.7 on FC16 and FC18.
> 
> Any help, much appreciated. 
>

Not sure what strict allocate = yes does, but I assume it probably does
fallocate() in which case yeah we aren't going to compress, we'll just write
into the preallocated space.  We don't support compressed writes into
preallocated space ATM, and I'm not sure we ever will.  Thanks,

Josef 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux