]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: defer should abort intent items if the trans roll fails
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 24 Oct 2016 03:21:18 +0000 (14:21 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 24 Oct 2016 03:21:18 +0000 (14:21 +1100)
commit65cd6b46404242e8d73aee25f07319b11617e042
tree50229749ffb142f19823c848ba2598dcf036d362
parentd521b6854dd804612c7a89878019c9c6dde7b34d
xfs: defer should abort intent items if the trans roll fails

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>
fs/xfs/libxfs/xfs_defer.c