diff options
author | Jan Kara <jack@suse.cz> | 2017-11-01 16:36:43 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-11-03 06:26:25 -0700 |
commit | 71eab6dfd91eabf06fe782a590c07e8a0795f5ea (patch) | |
tree | fc0c38518d74b25f9038e1c880a262a6366e768e /include/trace | |
parent | caa51d26f85c248f1c4f43a870ad3ef84bf9eb8f (diff) | |
download | op-kernel-dev-71eab6dfd91eabf06fe782a590c07e8a0795f5ea.zip op-kernel-dev-71eab6dfd91eabf06fe782a590c07e8a0795f5ea.tar.gz |
dax: Implement dax_finish_sync_fault()
Implement a function that filesystems can call to finish handling of
synchronous page faults. It takes care of syncing appropriare file range
and insertion of page table entry.
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')
-rw-r--r-- | include/trace/events/fs_dax.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/fs_dax.h b/include/trace/events/fs_dax.h index 88a9d19..7725459 100644 --- a/include/trace/events/fs_dax.h +++ b/include/trace/events/fs_dax.h @@ -190,6 +190,8 @@ DEFINE_EVENT(dax_pte_fault_class, name, \ DEFINE_PTE_FAULT_EVENT(dax_pte_fault); DEFINE_PTE_FAULT_EVENT(dax_pte_fault_done); DEFINE_PTE_FAULT_EVENT(dax_load_hole); +DEFINE_PTE_FAULT_EVENT(dax_insert_pfn_mkwrite_no_entry); +DEFINE_PTE_FAULT_EVENT(dax_insert_pfn_mkwrite); TRACE_EVENT(dax_insert_mapping, TP_PROTO(struct inode *inode, struct vm_fault *vmf, void *radix_entry), |