]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: put the block group cache after we commit the super
authorJosef Bacik <josef@redhat.com>
Mon, 29 Aug 2011 18:06:00 +0000 (14:06 -0400)
committerJosef Bacik <josef@redhat.com>
Wed, 19 Oct 2011 19:12:41 +0000 (15:12 -0400)
commited7c8f6d9bcba3ade00fbec28fda15eff160c169
treeecb4f4ba0cd499f73876476f92c3fc6306aaa140
parent037c7eb072cfa46fdeec0c97fbe420b4cb4fc3b1
Btrfs: put the block group cache after we commit the super

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: Josef Bacik <josef@redhat.com>
fs/btrfs/disk-io.c
fs/btrfs/free-space-cache.c