diff options
author | Allison Henderson <allison.henderson@oracle.com> | 2021-08-08 08:27:13 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-08-09 16:16:40 -0700 |
commit | df0826312a23e495faa91eee0d6ac31bca35dc09 (patch) | |
tree | bccf41dfe17b84f9d7414e24f90aa5daa447c07c /fs/xfs/libxfs/xfs_attr_remote.c | |
parent | 4bc619833f738f4fa8d931a71610795ebf5cec0e (diff) | |
download | linux-df0826312a23e495faa91eee0d6ac31bca35dc09.tar.gz |
xfs: add attr state machine tracepoints
This is a quick patch to add a new xfs_attr_*_return tracepoints. We use these to track when ever a new state is set or -EAGAIN is returned Signed-off-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_attr_remote.c')
-rw-r--r-- | fs/xfs/libxfs/xfs_attr_remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_attr_remote.c b/fs/xfs/libxfs/xfs_attr_remote.c index 0c8bee3abc3b..70f880da563b 100644 --- a/fs/xfs/libxfs/xfs_attr_remote.c +++ b/fs/xfs/libxfs/xfs_attr_remote.c @@ -696,6 +696,7 @@ __xfs_attr_rmtval_remove( */ if (!done) { dac->flags |= XFS_DAC_DEFER_FINISH; + trace_xfs_attr_rmtval_remove_return(dac->dela_state, args->dp); return -EAGAIN; } |