Re: [PATCH, RFC] xfs: fix multi-AG deadlock in xfs_bunmapi

Christoph Hellwig
2017-07-31T12:09:03Z

Hi Nikolay,

On Fri, Jul 28, 2017 at 09:05:51AM +0300, Nikolay Borisov wrote:
> Couldn't repro on 4.11 and 4.10 (which supposedly shouldn't have the
> fixes). I tried running generic/299 200 times on each kernel. Which
> exactly are the patches in 4.11 which fix the alloc path?

My suspects in 4.11 would be:

xfs: don't fail xfs_extent_busy allocation
xfs: improve handling of busy extents in the low-level allocator
xfs: fix len comparison in xfs_extent_busy_trim

4.10 also had a couple allocator fixes, but nothing that looks
directly related.