Solomon Boulos has uploaded this change for review.

View Change

Error => warning for Ganesha's FSAL_DIGEST_V4 request.

The mdcache has a hardcoded "I want a FSAL_DIGEST_V4 from you", which I
previously worked around with an innocuous ("V3 requests should be V3, V4 should
be V4"). But, on "boot", there is no active operation / NFS request that drives
the creation of the export, so the first one of these will fail. Not returning
to Ganesha the handle to our root is sure to cause problems.

So instead, since Ganesha doesn't look at it anyway, turn this into a
warning. If possible, I may try to make the internal handler detect that it's
being called for the root object and silently do that.

Change-Id: Ibdd8ee9e2af4b1275e7a0e07b7c4684708c4e2e0
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
1 file changed, 6 insertions(+), 4 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/64/487464/1

To view, visit change 487464. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ibdd8ee9e2af4b1275e7a0e07b7c4684708c4e2e0
Gerrit-Change-Number: 487464
Gerrit-PatchSet: 1
Gerrit-Owner: Solomon Boulos <boulos@google.com>
Gerrit-MessageType: newchange