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)
commit1db175428ee374489448361213e9c3b749d14900
tree32e4eebdad84d1c6e84508186b0f1fb63df7bdfc
parent9f141d6ef6258a3a37a045842d9ba7e68f368956
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