]> 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)
commit590448acbd10f54bd40cae42d518f5d9b4900479
tree5eb066bfc0c39f9485c83a7c28da77533fef4e11
parent9c003c1aa5741057f88a23f0ad185a122a822b23
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