linux/include/trace
Theodore Ts'o df3654402e ext4: force inode writes when nfsd calls commit_metadata()
commit fde872682e upstream.

Some time back, nfsd switched from calling vfs_fsync() to using a new
commit_metadata() hook in export_operations().  If the file system did
not provide a commit_metadata() hook, it fell back to using
sync_inode_metadata().  Unfortunately doesn't work on all file
systems.  In particular, it doesn't work on ext4 due to how the inode
gets journalled --- the VFS writeback code will not always call
ext4_write_inode().

So we need to provide our own ext4_nfs_commit_metdata() method which
calls ext4_write_inode() directly.

Google-Bug-Id: 121195940
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-04-04 16:14:00 +01:00
..
events ext4: force inode writes when nfsd calls commit_metadata() 2019-04-04 16:14:00 +01:00
define_trace.h tracing: Add DEFINE_EVENT_FN() macro 2013-06-20 22:24:32 -07:00
ftrace.h perf: Avoid horrible stack usage 2017-11-11 13:34:02 +00:00
syscall.h tracing: Fix syscall_*regfunc() vs copy_process() race 2014-06-21 00:15:12 -04:00