]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Simplify DAX fault path
authorJan Kara <jack@suse.cz>
Fri, 21 Oct 2016 09:33:49 +0000 (11:33 +0200)
committerDan Williams <dan.j.williams@intel.com>
Tue, 27 Dec 2016 04:29:25 +0000 (20:29 -0800)
commit81e0757887829d936dd2da2fda153815965d1a34
tree32e4eebdad84d1c6e84508186b0f1fb63df7bdfc
parent5afcd2a8bbddb07aae61cadf04087673892dff19
ext4: Simplify DAX fault path

Now that dax_iomap_fault() calls ->iomap_begin() without entry lock, we
can use transaction starting in ext4_iomap_begin() and thus simplify
ext4_dax_fault(). It also provides us proper retries in case of ENOSPC.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/ext4/file.c