]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02add1cc1b7e886b4946719bfb7d152d874fbc92
treee4d40edf5a5dd7386e7f736b9300fa216565a502
parentd234561e77e90f64b72731ece4fb8b71d4981dc8
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