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@xxxxxxxxx> > Cc: Ross Zwisler <ross.zwisler@xxxxxxxxxxxxxxx> > Cc: Jeff Moyer <jmoyer@xxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx> > Cc: Dave Chinner <david@xxxxxxxxxxxxx> > Cc: Jan Kara <jack@xxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Signed-off-by: Vishal Verma <vishal.l.verma@xxxxxxxxx> The patch looks good to me now. Feel free to add: Reviewed-by: Jan Kara <jack@xxxxxxx> Honza -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>