Change in ...nfs-ganesha[next]: Change nfs3_FSALattr_To_Fattr to nfs3_Fixup_FSALattr to save copy
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/469191 ) Change subject: Change nfs3_FSALattr_To_Fattr to nfs3_Fixup_FSALattr to save copy ...................................................................... Change nfs3_FSALattr_To_Fattr to nfs3_Fixup_FSALattr to save copy In a future patch, we will serialize READDIRPLUS response as we go so we would like to save copying the attributes. By moving the copy out to the caller, we will be able to do that. In order to save the copy, we add an fsid3 field to struct attrlist so we can fixup the fsid in the copy passed up on the readdir callback without damaging the cached attributes. Change-Id: I61f58c65ff762f0d328cceafd9e99f9aeae44d2b Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com> --- M src/Protocols/NFS/nfs3_getattr.c M src/Protocols/NFS/nfs3_readdirplus.c M src/Protocols/NFS/nfs_proto_tools.c M src/include/fsal_types.h M src/include/nfs_proto_tools.h 5 files changed, 31 insertions(+), 32 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/91/469191/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/469191 To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: I61f58c65ff762f0d328cceafd9e99f9aeae44d2b Gerrit-Change-Number: 469191 Gerrit-PatchSet: 1 Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com> Gerrit-MessageType: newchange
participants (1)
-
Frank Filz (GerritHub)