]> git.baikalelectronics.ru Git - kernel.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)
commit3130985eb2afaf5731c6e51877dfb7c01de67785
treebb0b829c4fc6365add5b769089930695ef039a92
parentd97b1345fea4cdc394644841c64c321f561bed9e
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