]> asedeno.scripts.mit.edu Git - linux.git/commit
dax: pass detailed error code from dax_iomap_fault()
authorJan Kara <jack@suse.cz>
Sun, 7 Jan 2018 21:38:43 +0000 (16:38 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 7 Jan 2018 21:38:43 +0000 (16:38 -0500)
commitc0b24625979284dd212423320fe1c84fe244ed7f
tree92824567101689de2900f33446ca5db723394e48
parentbbe45d2460da98785cb9453fb0b42d9b2e79dd99
dax: pass detailed error code from dax_iomap_fault()

Ext4 needs to pass through error from its iomap handler to the page
fault handler so that it can properly detect ENOSPC and force
transaction commit and retry the fault (and block allocation). Add
argument to dax_iomap_fault() for passing such error.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/dax.c
fs/ext2/file.c
fs/ext4/file.c
fs/xfs/xfs_file.c
include/linux/dax.h