]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 21 Apr 2017 08:11:17 +0000 (10:11 +0200)
commit5d9435bdb8aa034b743206c6915a3c6fec0548c3
tree21519ce8c4a2b2cea2e1fa208dde8d5259520160
parenta2b70808df3089169514b15b64da334f852156ef
xfs: don't fail xfs_extent_busy allocation

BugLink: http://bugs.launchpad.net/bugs/1681875
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/xfs/xfs_extent_busy.c