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>
This commit is contained in:
parent
caa51d26f8
commit
71eab6dfd9
3 changed files with 87 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue