summaryrefslogtreecommitdiff
path: root/src/scanner.l
AgeCommit message (Expand)AuthorFilesLines
2006-11-13Initial import15.6-2Tobias Klauser1-0/+786
iv>
authorVishal Verma <vishal.l.verma@intel.com>2016-04-21 15:13:46 -0400
committerVishal Verma <vishal.l.verma@intel.com>2016-05-18 12:16:57 -0600
commit4b0228fa1d753f77fe0e6cf4c41398ec77dfbd2a (patch)
tree323a881d26a983060f82477b8391717fa5b10e9d
parent679c8bd3b29428e736eabb7fc66a978f312f0c86 (diff)
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