xfs: factor DIO write mapping from get_blocks
authorDave Chinner <dchinner@redhat.com>
Thu, 16 Apr 2015 11:57:48 +0000 (21:57 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 16 Apr 2015 11:57:48 +0000 (21:57 +1000)
Clarify and separate the buffer mapping logic so that the direct IO mapping is
not tangled up in propagating the extent status to teh mapping buffer. This
makes it easier to extend the direct IO mapping to use an ioend in future.

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

Simple merge