• Josef Bacik's avatar
    Btrfs: make metadata chunks smaller · 83d3c969
    Josef Bacik authored
    This patch makes us a bit less zealous about making sure we have enough free
    metadata space by pearing down the size of new metadata chunks to 256mb instead
    of 1gb.  Also, we used to try an allocate metadata chunks when allocating data,
    but that sort of thing is done elsewhere now so we can just remove it.  With my
    -ENOSPC test I used to have 3gb reserved for metadata out of 75gb, now I have
    1.7gb.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    83d3c969
extent-tree.c 201 KB