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)
commita719370be52d1152a5f6e19c4af3b73280e25475
treed057061f41c13452b930315374abf44467ac1e85
parentc517d838eb7d07bbe9507871fab3931deccff539
xfs: factor DIO write mapping from get_blocks

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