[PATCH v7 5/6] dax: for truncate/hole-punch, do zeroing through the driver if possible

Jan Kara jack at suse.cz
Thu May 12 03:38:52 CDT 2016


On Wed 11-05-16 15:08:51, Vishal Verma wrote:
> 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 at intel.com>
> Cc: Ross Zwisler <ross.zwisler at linux.intel.com>
> Cc: Jeff Moyer <jmoyer at redhat.com>
> Cc: Christoph Hellwig <hch at infradead.org>
> Cc: Dave Chinner <david at fromorbit.com>
> Cc: Jan Kara <jack at suse.cz>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Vishal Verma <vishal.l.verma at intel.com>

The patch looks good to me now. Feel free to add:

Reviewed-by: Jan Kara <jack at suse.cz>

								Honza
-- 
Jan Kara <jack at suse.com>
SUSE Labs, CR



More information about the xfs mailing list