diff options
author | Christoph Hellwig <hch@lst.de> | 2017-07-18 20:16:51 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-07-26 17:20:03 +0200 |
commit | 5b094d6dac0451ad89b1dc088395c7b399b7e9e8 (patch) | |
tree | 83ef91fc22af5f57c4f08902ec92b3d432d0f1b9 /mm/swap.c | |
parent | xfs: check that dir block entries don't off the end of the buffer (diff) | |
download | linux-5b094d6dac0451ad89b1dc088395c7b399b7e9e8.tar.xz linux-5b094d6dac0451ad89b1dc088395c7b399b7e9e8.zip |
xfs: fix multi-AG deadlock in xfs_bunmapi
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions