]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: fix bogus minleft manipulations
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Jan 2017 02:07:48 +0000 (20:07 -0600)
committerEric Sandeen <sandeen@redhat.com>
Wed, 11 Jan 2017 02:07:48 +0000 (20:07 -0600)
commita3b4a951cbc39195b1fa85a950c415a1c54f4ef4
tree9af9cd452c1e49304b2ef0b5e7168ffddc92af5e
parent8eeb15ead5c90dc49a58adab59203e5d84e48ce3
xfs: fix bogus minleft manipulations

Source kernel commit: 255c516278175a6dc7037d1406307f35237d8688

We can't just set minleft to 0 when we're low on space - that's exactly
what we need minleft for: to protect space in the AG for btree block
allocations when we are low on free space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_alloc.c
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c