]> git.baikalelectronics.ru Git - 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)
commit2763908eba85de333a7f547e82c129ce30c5250f
tree5eb066bfc0c39f9485c83a7c28da77533fef4e11
parent3c022bf9110c423e6e0cf44412c18cbda42ecc54
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