]> git.baikalelectronics.ru Git - kernel.git/commit
ext2: auto disable dax instead of failing mount
authorDan Williams <dan.j.williams@intel.com>
Fri, 22 Dec 2017 02:18:27 +0000 (18:18 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sat, 20 Jan 2018 00:50:53 +0000 (16:50 -0800)
commit5a6f789c035e8332bb8752f47b73c23242e8f8cb
tree6af0b815e7de22664f6807867cc0f25c8c7ce0d8
parentf28c5cfd54077bd2c35b38685b3fd78cc1f535f3
ext2: auto disable dax instead of failing mount

Bring the ext2 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>
fs/ext2/super.c