xfs: call dax_pfn_mkwrite() for DAX fsync/msync
authorRoss Zwisler <[email protected]>
Fri, 22 Jan 2016 23:10:56 +0000 (15:10 -0800)
committerLinus Torvalds <[email protected]>
Sat, 23 Jan 2016 01:02:18 +0000 (17:02 -0800)
commit5eb88dca9ce4546bdfca6e5defcd50fbe8ea8411
tree938b34318b8d0fa5852bb0ebf7f7a8b1e15d5558
parentd5be7a03b002a0faec136687ec03dbee6c579930
xfs: call dax_pfn_mkwrite() for DAX fsync/msync

To properly support the new DAX fsync/msync infrastructure filesystems
need to call dax_pfn_mkwrite() so that DAX can track when user pages are
dirtied.

Signed-off-by: Ross Zwisler <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: "J. Bruce Fields" <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Jeff Layton <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/xfs/xfs_file.c