summaryrefslogtreecommitdiffstats
path: root/include/ras
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-05-30 13:03:45 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-07-11 16:31:33 +0200
commit2384edbfa7ff6d4122bb6554a5cf94d67ee88b9e (patch)
treedb20f3155edde9c5de65d9cb599102d0683d4232 /include/ras
parent5f0a93e12376ac29d353c628eb2a75c4bda59887 (diff)
downloadlinux-stable-2384edbfa7ff6d4122bb6554a5cf94d67ee88b9e.tar.gz
linux-stable-2384edbfa7ff6d4122bb6554a5cf94d67ee88b9e.tar.bz2
linux-stable-2384edbfa7ff6d4122bb6554a5cf94d67ee88b9e.zip
fs: allow per-device dax status checking for filesystems
commit ba23cba9b3bdc967aabdc6ff1e3e9b11ce05bb4f upstream. Change bdev_dax_supported so it takes a bdev parameter. This enables multi-device filesystems like xfs to check that a dax device can work for the particular filesystem. Once that's in place, actually fix all the parts of XFS where we need to be able to distinguish between datadev and rtdev. This patch fixes the problem where we screw up the dax support checking in xfs if the datadev and rtdev have different dax capabilities. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> [rez: Re-added __bdev_dax_supported() for !CONFIG_FS_DAX cases] Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com> Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/ras')
0 files changed, 0 insertions, 0 deletions