]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
xfs: DAX does not use IO completion callbacks
authorDave Chinner <dchinner@redhat.com>
Tue, 3 Nov 2015 01:37:02 +0000 (12:37 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 3 Nov 2015 01:37:02 +0000 (12:37 +1100)
commit01a155e6cf7db1a8ff2aa73162d7d9ec05ad298f
tree5175a3ee994d05257bde3949743cd7803e9a347e
parent1ca191576fc862b4766f58e41aa362b28a7c1866
xfs: DAX does not use IO completion callbacks

For DAX, we are now doing block zeroing during allocation. This
means we no longer need a special DAX fault IO completion callback
to do unwritten extent conversion. Because mmap never extends the
file size (it SEGVs the process) we don't need a callback to update
the file size, either. Hence we can remove the completion callbacks
from the __dax_fault and __dax_mkwrite calls.

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
fs/xfs/xfs_aops.h
fs/xfs/xfs_file.c