xfs: add an xfs_zero_eof() tracepoint
authorBrian Foster <bfoster@redhat.com>
Mon, 12 Oct 2015 05:02:08 +0000 (16:02 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 12 Oct 2015 05:02:08 +0000 (16:02 +1100)
commit0a50f162af6ddc2db02c9edc5bbb823c336100a4
treee4d40edf5a5dd7386e7f736b9300fa216565a502
parent3136e8bb3054d3bb68942f8f1ee6c26c05f798b0
xfs: add an xfs_zero_eof() tracepoint

Add a tracepoint in xfs_zero_eof() to facilitate tracking and debugging
EOF zeroing events. This has proven useful in the context of other
direct I/O tracepoints to ensure EOF zeroing occurs within appropriate
file ranges.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_file.c
fs/xfs/xfs_trace.h