Re: [PATCH v3 5/5] xfs: Add alignment check for DAX mount

2016-05-08 Thread Christoph Hellwig
Looks fine for now. In the long run we'll need to check it for the RT subvolume as well, or prohibit DAX if there is an active RT subvolume. Reviewed-by: Christoph Hellwig

Re: [PATCH v3 5/5] xfs: Add alignment check for DAX mount

2016-05-08 Thread Christoph Hellwig
Looks fine for now. In the long run we'll need to check it for the RT subvolume as well, or prohibit DAX if there is an active RT subvolume. Reviewed-by: Christoph Hellwig

[PATCH v3 5/5] xfs: Add alignment check for DAX mount

2016-05-05 Thread Toshi Kani
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_supports_dax() to perform proper precondition checks which includes this partition alignment check. Signed-off-by: Toshi Kani

[PATCH v3 5/5] xfs: Add alignment check for DAX mount

2016-05-05 Thread Toshi Kani
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_supports_dax() to perform proper precondition checks which includes this partition alignment check. Signed-off-by: Toshi Kani Cc: Dave Chinner