Files
linux/include/trace/events
Theodore Ts'o 21ca66ad9d 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>
2023-05-15 10:49:38 +09:00
..
2016-02-26 10:52:48 +09:00
2016-08-07 14:41:02 -06:00
2016-08-07 14:41:02 -06:00
2016-07-14 22:16:05 -07:00
2018-02-22 19:19:04 +00:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2020-12-17 17:32:11 +09:00
2013-06-23 11:52:58 +02:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00