xfs: don't fail xfs_extent_busy allocation
authorChristoph Hellwig <hch@lst.de>
Tue, 7 Feb 2017 22:06:46 +0000 (14:06 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 9 Feb 2017 18:50:25 +0000 (10:50 -0800)
commit5e30c23d13919a718b22d4921dc5c0accc59da27
treeff415885bfd2a03df480855e3e367943a0fa8bd8
parentb20fe4730ea5c037c16631fb0df659c7b6d4b3b1
xfs: don't fail xfs_extent_busy allocation

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>
fs/xfs/xfs_extent_busy.c