android_kernel_samsung_msm8976/include/trace
Theodore Ts'o 27eb83a15e ext4: force inode writes when nfsd calls commit_metadata()
commit fde872682e175743e0c3ef939c89e3c6008a1529 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>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-07-27 21:53:31 +02:00
..
events ext4: force inode writes when nfsd calls commit_metadata() 2019-07-27 21:53:31 +02:00
define_trace.h
ftrace.h Merge upstream linux-stable v3.10.36 into msm-3.10 2014-04-23 16:23:49 -07:00
syscall.h tracing: Fix syscall_*regfunc() vs copy_process() race 2014-07-06 18:54:16 -07:00
trace_thermal.h msm: thermal: Add ftrace to KTM progressive mitigation 2015-11-03 00:45:25 -08:00