Toshi Kani 1e937cddd1 xfs: Add alignment check for DAX mount
When a partition is not aligned by 4KB, mount -o dax succeeds,
but any read/write access to the filesystem fails, except for
metadata update.

Call bdev_dax_supported() to perform proper precondition checks
which includes this partition alignment check.

Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Dave Chinner <david@fromorbit.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Boaz Harrosh <boaz@plexistor.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
2016-05-17 00:44:12 -06:00
..
2014-07-30 09:12:05 +10:00
2016-03-18 11:42:53 -04:00
2016-03-21 11:53:05 -07:00
2016-02-10 15:01:30 +11:00
2015-06-22 09:44:02 +10:00
2016-02-09 16:54:58 +11:00
2016-02-09 16:54:58 +11:00
2016-03-11 10:21:32 -08:00
2016-03-18 11:42:53 -04:00