Frank Filz has uploaded this change for review.

View Change

CEPH: Introduce host_to_key and fix up use of host handles and handle-key

After clarifying how the various handle forms are used, and noting that
CEPH was missing host_to_key, it's clear that wire_to_host MUST produce
a host handle (without the export_id), not a handle-key. If the handle-key
(with the export_id) is needed, MDCACHE will call host_to_key.

The create_handle method is passed a host handle NOT a handle-key so it
must NOT expect the export_id to be there.

Change-Id: I4e06731d4c27da5a89eda7c08b79f93de84a4855
Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
M src/FSAL/FSAL_CEPH/export.c
M src/FSAL/FSAL_CEPH/internal.h
2 files changed, 50 insertions(+), 16 deletions(-)

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

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

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I4e06731d4c27da5a89eda7c08b79f93de84a4855
Gerrit-Change-Number: 507717
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx@mindspring.com>
Gerrit-MessageType: newchange