]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ext4: auto disable dax instead of failing mount
authorDan Williams <dan.j.williams@intel.com>
Fri, 22 Dec 2017 01:04:07 +0000 (17:04 -0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Tue, 20 Mar 2018 17:20:17 +0000 (14:20 -0300)
commitabfa431a11b2e56575e7e164078b027794871d60
tree1ac3d4d3e78f583ca4938bd120ae14791d7b4ee9
parent2b83aaf74839e46cb78e5a88259bb382ad0434f0
ext4: auto disable dax instead of failing mount

BugLink: http://bugs.launchpad.net/bugs/1751724
Bring the ext4 filesystem in line with xfs that only warns and continues
when the "-o dax" option is specified to mount and the backing device
does not support dax. This is in preparation for removing dax support
from devices that do not enable get_user_pages() operations on dax
mappings. In other words 'gup' support is required and configurations
that were using so called 'page-less' dax will be converted back to
using the page cache.

Removing the broken 'page-less' dax support is a pre-requisite for
removing the "EXPERIMENTAL" warning when mounting a filesystem in dax
mode.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
(cherry picked from commit 24f3478d664b1eaa6f8860d3aa521aebe51b2a62)
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
fs/ext4/super.c