Re: Why btrfs inline small file by default?
From: ching <hidden>
Date: 2012-10-30 21:40:28
From: ching <hidden>
Date: 2012-10-30 21:40:28
On 10/30/2012 08:17 PM, cwillu wrote:
quoted
quoted
If there is a lot of small files, then the size of metadata will be undesirable due to deduplicationYes, that is a fact, but if that really matters depends on the use-case (e.g., the small files to large files ratio, ...). But as btrfs is designed explicitly as a general purpose file system, you usually want the good performance instead of the better disk-usage (especially as disk space isn't expensive anymore).As I understand it, in basically all cases the total storage used by inlining will be _smaller_, as the allocation doesn't need to be aligned to the sector size.
if i have 10G small files in total, then it will consume 20G by default. ching