]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit3bce876fd58a745b8a1bc0bd8325c3e5b4cebeb0
treef60e08b4079cf48b1e506133977f7cd3f638a3b3
parent365c5313776730acf433d54226f0216a1d075e9a
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