fuse: Trust kernel i_mtime only
Let the kernel maintain i_mtime locally: - clear S_NOCMTIME - implement i_op->update_time() - flush mtime on fsync and last close - update i_mtime explicitly on truncate and fallocate Fuse inode flag FUSE_I_MTIME_DIRTY serves as indication that local i_mtime should be flushed to the server eventually. Change-Id: I0db9f6faba551c88a618c4fddfff9b68338324cd Signed-off-by:Maxim Patlasov <MPatlasov@parallels.com> Signed-off-by:
Miklos Szeredi <mszeredi@suse.cz> Git-commit: b0aa760652179072119582375f8dc896ed5b5dfd Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git Signed-off-by:
Nikhilesh Reddy <reddyn@codeaurora.org>
Loading
Please register or sign in to comment