[PATCH] Btrfs: put the block group cache after we commit the super V2

2011-08-30 Thread Josef Bacik
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 wi

[PATCH] Btrfs: put the block group cache after we commit the super

2011-08-29 Thread Josef Bacik
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 wi