• Josef Bacik's avatar
    Btrfs: Add a clear_cache mount option · 88c2ba3b
    Josef Bacik authored
    If something goes wrong with the free space cache we need a way to make sure
    it's not loaded on mount and that it's cleared for everybody.  When you pass the
    clear_cache option it will make it so all block groups are setup to be cleared,
    which keeps them from being loaded and then they will be truncated when the
    transaction is committed.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    88c2ba3b
free-space-cache.c 52.9 KB