]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: don't steal from the global reserve if we don't have the space
authorJosef Bacik <jbacik@fb.com>
Tue, 24 Feb 2015 20:35:51 +0000 (12:35 -0800)
committerChris Mason <clm@fb.com>
Fri, 10 Apr 2015 21:06:59 +0000 (14:06 -0700)
commit39af2da39bd8f5c7a39c422ad60d918dfdf8ee85
treef60e08b4079cf48b1e506133977f7cd3f638a3b3
parent144fe6f72b341404319bd35ed09f643560e1e537
Btrfs: don't steal from the global reserve if we don't have the space

btrfs_evict_inode() needs to be more careful about stealing from the
global_rsv.  We dont' want to end up aborting commit with ENOSPC just
because the evict_inode code was too greedy.

Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/inode.c