]> git.baikalelectronics.ru Git - kernel.git/commit
dax: provide an iomap based fault handler
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2016 01:24:50 +0000 (11:24 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 Sep 2016 01:24:50 +0000 (11:24 +1000)
commit65518cecf06101257097868911527055c825e580
tree52d21238ff5a36c74ecaf2401bbe91311afae37f
parente19b135bddfbe56ec0ce788422f600c79aef87ff
dax: provide an iomap based fault handler

Very similar to the existing dax_fault function, but instead of using
the get_block callback we rely on the iomap_ops vector from iomap.c.
That also avoids having to do two calls into the file system for write
faults.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/dax.c
include/linux/dax.h