I didn't check them all, but create definitely sets the attributes before returning. What are you seeing that indicates that they're not set? Daniel On Wed, Jan 30, 2019 at 8:39 PM Pradeep <pradeep.thomas@gmail.com> wrote:
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 _______________________________________________ Devel mailing list -- devel@lists.nfs-ganesha.org To unsubscribe send an email to devel-leave@lists.nfs-ganesha.org