]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: add DAX block zeroing support
authorDave Chinner <dchinner@redhat.com>
Wed, 3 Jun 2015 23:19:08 +0000 (09:19 +1000)
committerDan Duval <dan.duval@oracle.com>
Wed, 12 Oct 2016 13:48:03 +0000 (09:48 -0400)
commit19c1ca00dc31bb5b793a03f7a4d068607c0396f6
tree01e34def3c5b4d187c95950f131ef63934933e62
parent016396ea48d2ee9b9be974cff8546c076a10890c
xfs: add DAX block zeroing support

Orabug: 22913653

Add initial support for DAX block zeroing operations to XFS. DAX
cannot use buffered IO through the page cache for zeroing, nor do we
need to issue IO for uncached block zeroing. In both cases, we can
simply call out to the dax block zeroing function.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
(cherry picked from commit 4f69f578a87d39c20b1ff70005a125e4594c3de8)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_file.c