xfs: don't fail xfs_extent_busy allocation
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Feb 2017 22:06:46 +0000 (14:06 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 07:30:31 +0000 (09:30 +0200)
commit47d7d1ea6c5ff252728773c20129283ba64c8b7b
tree9a9f631db565a8d86d5478650949e456707a1d2d
parent5bbf5ba693ac6dc323d6608740311c34b978e986
xfs: don't fail xfs_extent_busy allocation

commit 5e30c23d13919a718b22d4921dc5c0accc59da27 upstream.

We don't just need the structure to track busy extents which can be
avoided with a synchronous transaction, but also to keep track of
pending discard.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/xfs_extent_busy.c