]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: fix bogus minleft manipulations
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Jan 2017 21:36:19 +0000 (13:36 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 9 Jan 2017 21:36:36 +0000 (13:36 -0800)
commit255c516278175a6dc7037d1406307f35237d8688
treebb0b829c4fc6365add5b769089930695ef039a92
parent5149fd327f16e393c1d04fa5325ab072c32472bf
xfs: fix bogus minleft manipulations

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>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap_btree.c