commit | 9969441f9f86a8a7de8c36514fa789e5f5d83145 | [log] [tgz] |
---|---|---|
author | Dave Chinner <dchinner@redhat.com> | Thu Jun 04 09:19:10 2015 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Thu Jun 04 09:19:10 2015 +1000 |
tree | f041302d6b5bfd303dfcd065afc036f37be5f33c | |
parent | 4f69f578a87d39c20b1ff70005a125e4594c3de8 [diff] |
xfs: add DAX truncate support When we truncate a DAX file, we need to call through the DAX page truncation path rather than through block_truncate_page() so that mappings and block zeroing are all handled correctly. Otherwise, truncate does not need to change. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>