Hello,
I noticed that ganesha does not do metadata sync after operations like
create, remove, setattr etc., (with FSAL_VFS). According to NFSv3 RFC:
"The following data modifying procedures are
synchronous: WRITE (with stable flag set to FILE_SYNC), CREATE,
MKDIR, SYMLINK, MKNOD, REMOVE, RMDIR, RENAME, LINK, and COMMIT.
Kernel NFS calls commit_metadata() to sync - see create procedure below:
https://elixir.bootlin.com/linux/latest/source/fs/nfsd/vfs.c#L1460
Is this to improve performance or a bug?
Thanks,
Pradeep