Solomon Boulos has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/503953 )
Change subject: ProxyV3: Issue last-chance LOOKUP in READDIRPLUS.
......................................................................
ProxyV3: Issue last-chance LOOKUP in READDIRPLUS.
READDIR responses can also be "here's the name" with no handle
or attributes. For example, knfsd (and NetApp) return just the
name for nested mounts/exports. The NFS client is then responsible
for issuing a LOOKUP in response.
Until we add whatever support is needed in Ganesha to return these
sort of partial responses ("just a name", or "name and handle, but
not attributes"), the proxy needs to act more like a full client.
This also finally pushed me to move the readdir entry loop into a
little helper function. The indentation was out of control :).
Change-Id: I96ba4b8791fd25e8273b46df873c812741c2acbe
Signed-off-by: Solomon Boulos <boulos(a)google.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
1 file changed, 171 insertions(+), 113 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/53/503953/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/503953
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: I96ba4b8791fd25e8273b46df873c812741c2acbe
Gerrit-Change-Number: 503953
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos(a)google.com>
Gerrit-MessageType: newchange