[PATCH 0/2] xfs: some DAX fixes

From: Ross Zwisler
Date: Thu Sep 07 2017 - 17:08:57 EST


These two fixes are to the now-disabled per-inode DAX support in XFS. I
started working on these in the v4.13 timeframe before the per-inode
DAX feature was turned off.

I realize that they may not be critical right now since the per-inode DAX
feature is turned off, but I think that if we ever do re-enable that
feature we will want these two issues to have been fixed.

I also do think that they are both vaulable for stable kernels.

These used to be part of my ext4 per-inode enabling:

https://lkml.org/lkml/2017/9/5/748

But I've since split that into a series of XFS bug fixes (these two) and a
series of ext4 bug fixes.

Ross Zwisler (2):
xfs: always use DAX if mount option is used
xfs: validate bdev support for DAX inode flag

fs/xfs/xfs_ioctl.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)

--
2.9.5