diff options
author | Jan Kara | 2017-11-01 16:36:42 +0100 |
---|---|---|
committer | Dan Williams | 2017-11-03 14:26:25 +0100 |
commit | caa51d26f85c248f1c4f43a870ad3ef84bf9eb8f (patch) | |
tree | 1949315570cf10dc95ebf1dde715cc1abaf81a2f /include/trace | |
parent | mm: Define MAP_SYNC and VM_SYNC flags (diff) | |
download | kernel-qcow2-linux-caa51d26f85c248f1c4f43a870ad3ef84bf9eb8f.tar.gz kernel-qcow2-linux-caa51d26f85c248f1c4f43a870ad3ef84bf9eb8f.tar.xz kernel-qcow2-linux-caa51d26f85c248f1c4f43a870ad3ef84bf9eb8f.zip |
dax, iomap: Add support for synchronous faults
Add a flag to iomap interface informing the caller that inode needs
fdstasync(2) for returned extent to become persistent and use it in DAX
fault code so that we don't map such extents into page tables
immediately. Instead we propagate the information that fdatasync(2) is
necessary from dax_iomap_fault() with a new VM_FAULT_NEEDDSYNC flag.
Filesystem fault handler is then responsible for calling fdatasync(2)
and inserting pfn into page tables.
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions