]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
dax: Finish fault completely when loading holes
authorJan Kara <jack@suse.cz>
Wed, 19 Oct 2016 12:48:38 +0000 (14:48 +0200)
committerDan Williams <dan.j.williams@intel.com>
Tue, 27 Dec 2016 04:29:25 +0000 (20:29 -0800)
commitf449b936f1aff7696b24a338f493d5cee8d48d55
tree5eb066bfc0c39f9485c83a7c28da77533fef4e11
parente3fce68cdbed297d927e993b3ea7b8b1cee545da
dax: Finish fault completely when loading holes

The only case when we do not finish the page fault completely is when we
are loading hole pages into a radix tree. Avoid this special case and
finish the fault in that case as well inside the DAX fault handler. It
will allow us for easier iomap handling.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/dax.c