On Mon, Feb 20, 2017 at 09:58:19AM -0500, Brian Foster wrote: > On Mon, Feb 20, 2017 at 03:25:21PM +0100, Michal Hocko wrote: > > I have discussed that shortly with Jack and he suspects that xfs > > specific part of the iomap callbacks doesn't cancel reservations. > > Let's CC more xfs people. The thread starts > > http://lkml.kernel.org/r/20170210035348.GA7075@xxxxxxxxxxxxxxxxxxxxxxxx > > > > Have you tried commit fa7f138 ("xfs: clear delalloc and cache on buffered > write failure"), currently in for-next? I cherry-picked this commit to 4.10-rc8 tree and xfs/297 xfs/305 all passed for me without fs corruption. They used to fail for me reliably with stock 4.10-rc8 kernel. Thanks all for looking at this! Thanks, Eryu