iomap: Remove pgoff from tracepoints
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 5 Mar 2020 15:21:43 +0000 (07:21 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 5 Mar 2020 15:30:54 +0000 (07:30 -0800)
commit1ac994525b9d3b6245c1a61632156f19ab73fccb
tree7ccf799887f482d755b7f7ff0202088aec2bcb6b
parent98d54f81e36ba3bf92172791eba5ca5bd813989b
iomap: Remove pgoff from tracepoints

The 'pgoff' displayed by the tracepoints wasn't a pgoff at all; it
was a byte offset from the start of the file.  We already emit that in
the form of the 'offset', so we can just remove pgoff.  That means we
can remove 'page' as an argument to the tracepoint, and rename this
type of tracepoint from being a page class to being a range class.

Fixes: 0b1b213fcf3a ("xfs: event tracing support")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/iomap/buffered-io.c
fs/iomap/trace.h