diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2016-04-21 22:13:46 +0300 |
---|---|---|
committer | Vishal Verma <vishal.l.verma@intel.com> | 2016-05-18 21:16:57 +0300 |
commit | 4b0228fa1d753f77fe0e6cf4c41398ec77dfbd2a (patch) | |
tree | 323a881d26a983060f82477b8391717fa5b10e9d /arch/powerpc/math-emu | |
parent | 679c8bd3b29428e736eabb7fc66a978f312f0c86 (diff) | |
download | linux-4b0228fa1d753f77fe0e6cf4c41398ec77dfbd2a.tar.xz |
dax: for truncate/hole-punch, do zeroing through the driver if possible
In the truncate or hole-punch path in dax, we clear out sub-page ranges.
If these sub-page ranges are sector aligned and sized, we can do the
zeroing through the driver instead so that error-clearing is handled
automatically.
For sub-sector ranges, we still have to rely on clear_pmem and have the
possibility of tripping over errors.
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Jan Kara <jack@suse.cz>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Diffstat (limited to 'arch/powerpc/math-emu')
0 files changed, 0 insertions, 0 deletions