• J
    btrfs: change the minimum global reserve size · 3593ce30
    Josef Bacik 提交于
    It made sense to have the global reserve set at 16M in the past, but
    since it is used less nowadays set the minimum size to the number of
    items we'll need to update the main trees we update during a transaction
    commit, plus some slop area so we can do unlinks if we need to.
    
    In practice this doesn't affect normal file systems, but for xfstests
    where we do things like fill up a fs and then rm * it can fall over in
    weird ways.  This enables us for more sane behavior at extremely small
    file system sizes.
    Signed-off-by: NJosef Bacik <josef@toxicpanda.com>
    Signed-off-by: NDavid Sterba <dsterba@suse.com>
    3593ce30
block-rsv.c 11.9 KB