Dan Williams 0a70bd4305 dax: enable dax in the presence of known media errors (badblocks)
1/ If a mapping overlaps a bad sector fail the request.

2/ Do not opportunistically report more dax-capable capacity than is
   requested when errors present.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
[vishal: fix a conflict with system RAM collision patches]
[vishal: add a 'size' parameter to ->direct_access]
[vishal: fix a conflict with DAX alignment check patches]
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
2016-05-18 12:16:56 -06:00
..
2016-03-09 10:44:16 -06:00
2016-03-01 19:27:20 +11:00
2016-03-04 23:50:27 -06:00
2016-03-04 23:50:27 -06:00
2016-03-01 19:27:20 +11:00
2015-05-11 16:58:20 +10:00
2013-10-09 20:04:11 -05:00
2015-09-03 16:41:38 -07:00
2013-10-09 20:04:11 -05:00
2013-11-06 14:13:50 +11:00
2014-09-25 23:14:46 +10:00