Vishal Verma 4b0228fa1d 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>
2016-05-18 12:16:57 -06:00
..
2014-08-02 01:26:07 -05:00
2015-07-23 20:59:40 +02:00
2015-07-23 20:59:40 +02:00
2015-02-16 17:56:04 -08:00
2015-10-29 12:57:48 -05:00
2015-10-13 22:17:57 -07:00
2016-02-26 14:39:08 -05:00
2015-05-18 11:23:07 +02:00
2014-12-29 15:40:18 -07:00
2016-03-09 15:33:06 -07:00
2015-06-01 07:15:38 +10:00