diff options
author | Christoph Hellwig <hch@lst.de> | 2017-09-17 21:06:40 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-20 06:19:59 (GMT) |
commit | 229980158f95098ba82e7bec91ce8ada18335bdc (patch) | |
tree | b481d6cd30fc85b9eb9c7a9055781fa92b2bacde /fs/xfs/xfs_inode.c | |
parent | 81e27c94f9ab86c04ba4ca5f1d2bcf9e61f7b5af (diff) | |
download | linux-229980158f95098ba82e7bec91ce8ada18335bdc.tar.xz |
xfs: fix multi-AG deadlock in xfs_bunmapi
commit 5b094d6dac0451ad89b1dc088395c7b399b7e9e8 upstream.
Just like in the allocator we must avoid touching multiple AGs out of
order when freeing blocks, as freeing still locks the AGF and can cause
the same AB-BA deadlocks as in the allocation path.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Nikolay Borisov <n.borisov.lkml@gmail.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>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions