xfs: remove the io_type field from the writeback context and ioend
authorChristoph Hellwig <hch@lst.de>
Fri, 15 Feb 2019 16:02:46 +0000 (08:02 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sun, 17 Feb 2019 19:55:53 +0000 (11:55 -0800)
commitbe225fec72ed10a7e2c81a1ddd0d081a80238bff
treed56d42067d6f2411c6225562c980f9201d4c35b9
parentc4a6bf7f6cc7eb4cce120fb7eb1e1fb8b2d65e09
xfs: remove the io_type field from the writeback context and ioend

The io_type field contains what is basically a summary of information
from the inode fork and the imap.  But we can just as easily use that
information directly, simplifying a few bits here and there and
improving the trace points.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_aops.h
fs/xfs/xfs_iomap.c
fs/xfs/xfs_reflink.c
fs/xfs/xfs_trace.h