]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:35:04 +0000 (09:35 +0200)
commit0b20c0afbb84cc246be2211209bf58670f6d2341
tree1e3836ef513b17379357bfbd0a1986bb7c2a5c3b
parente8eb2c060902c723cab90e649f03ad7210c0a140
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