xfs: split direct I/O and DAX path
authorChristoph Hellwig <hch@lst.de>
Wed, 20 Jul 2016 01:38:55 +0000 (11:38 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 20 Jul 2016 01:38:55 +0000 (11:38 +1000)
commit16d4d43595b4780daac8fcea6d042689124cb094
tree991b3b67bba3c837256b1009ef8b8038d587cc7c
parentfa8d972d055c723cc427e14d4d7919640f418730
xfs: split direct I/O and DAX path

So far the DAX code overloaded the direct I/O code path.  There is very little
in common between the two, and untangling them allows to clean up both variants.

As a side effect we also get separate trace points for both I/O types.

Signed-off-by: Christoph Hellwig <hch@lst.de>
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