• Josef Bacik's avatar
    Btrfs: put the block group cache after we commit the super · 300e4f8a
    Josef Bacik authored
    In moving some enospc stuff around I noticed that when we unmount we are often
    evicting the free space cache inodes before we do our last commit.  This isn't
    bad, but it makes us constantly have to re-read the inodes back.  So instead
    don't evict the cache until after we do our last commit, this will make things a
    little less crappy and makes a future enospc change work properly.  Thanks,
    Signed-off-by: default avatarJosef Bacik <josef@redhat.com>
    300e4f8a
disk-io.c 83.9 KB