Files
linux/include/trace/events
Theodore Ts'o bf2fd1f970 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>
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-09 17:38:43 +01:00
..
2018-04-16 11:53:35 +01:00
2017-12-13 15:10:01 -05:00
2018-04-04 13:41:27 +01:00
2018-06-19 10:06:29 -07:00
2017-09-25 20:38:26 +02:00
2018-02-23 14:29:59 +00:00
2018-07-26 10:17:47 +02:00
2018-02-13 21:30:22 +01:00
2017-12-19 10:56:24 +01:00
2018-04-18 23:37:39 -04:00