[PATCH v6 22/22] dax: Add reporting of major faults

2014-02-25 Thread Matthew Wilcox
If we have to call get_block with the create argument set to 1, then the filesystem almost certainly had to zero the block. which is an I/O, which should be reported as a major fault. Note that major faults on DAX files happen for different reasons than major faults on non-DAX files. DAX files

[PATCH v6 22/22] dax: Add reporting of major faults

2014-02-25 Thread Matthew Wilcox
If we have to call get_block with the create argument set to 1, then the filesystem almost certainly had to zero the block. which is an I/O, which should be reported as a major fault. Note that major faults on DAX files happen for different reasons than major faults on non-DAX files. DAX files