]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: defer should abort intent items if the trans roll fails libxfs-4.9-sync
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 02:00:12 +0000 (13:00 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 25 Oct 2016 02:00:12 +0000 (13:00 +1100)
commit077dd509197e756884774b85775031d3ed57ac6d
tree6c08515b8f63735cc048c66144aa2ce28f9ebc65
parent2873ab2b85202c69689ab863b68971a0278512cc
xfs: defer should abort intent items if the trans roll fails

Source kernel commit: b77428b12b55437b28deae738d9ce8b2e0663b55

If the deferred ops transaction roll fails, we need to abort the intent
items if we haven't already logged a done item for it, regardless of
whether or not the deferred ops has had a transaction committed.  Dave
found this while running generic/388.

Move the tracepoint to make it easier to track object lifetimes.

Reported-by: Dave Chinner <david@fromorbit.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/xfs_defer.c