xfs: add tracepoints to readpage calls
authorDave Chinner <dchinner@redhat.com>
Fri, 8 Jan 2016 00:28:35 +0000 (11:28 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 8 Jan 2016 00:28:35 +0000 (11:28 +1100)
commit121e213eabad66c0453904d76e3eda193958acbd
tree2b7980ced4dcca8ccbb599544271ab716029447c
parenta841b64df29b4c7e68ce564d752dfb2042db5404
xfs: add tracepoints to readpage calls

This allows us to see page cache driven readahead in action as it
passes through XFS. This helps to understand buffered read
throughput problems such as readahead IO IO sizes being too small
for the underlying device to reach max throughput.

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