]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_bmap.c
xfs: add tracepoints and error injection for deferred extent freeing
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Aug 2016 01:35:59 +0000 (11:35 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 10 Aug 2016 01:35:59 +0000 (11:35 +1000)
commita9da40de25f45f7ec15680b9136173598e85a339
tree0de862a5b885fa0ae2663c6aa010423a58c8866c
parentf33cea1a5d82ba9932091c11abb27f320aea4b08
xfs: add tracepoints and error injection for deferred extent freeing

Source kernel commit: ba9e780246a15a35f8ebe5b60f4a11bb58e85bda

Add a couple of tracepoints for the deferred extent free operation and
a site for injecting errors while finishing the operation.  This makes
it easier to debug deferred ops and test log redo.

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>
include/xfs_trace.h
libxfs/xfs_alloc.c
libxfs/xfs_bmap.c