xfs: add tracepoints and error injection for deferred extent freeing
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 3 Aug 2016 01:26:33 +0000 (11:26 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 3 Aug 2016 01:26:33 +0000 (11:26 +1000)
commitba9e780246a15a35f8ebe5b60f4a11bb58e85bda
tree8216f1d66b69c2a34643d5604d79dc58278e2943
parentdc42375d5f55d2c48d363957621d7aa913bdc5a1
xfs: add tracepoints and error injection for deferred extent freeing

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