Hi All, there is usually a 1:1 relationship (ignoring handles across
architectures and versions) between nfs handle and object handle. One
thing that is not clear is the "key" which is used for hashing the
objects (mdcache_entry_t).  Ganesha 2.5 has handle_to_key() method to
take unique bits from the handle for acching purpose. How did this
work in ganesha 2.3? Ganesha 2.3 comments say that extract_handle
method is used to get the key, but this eventually results in losing
the actual handle.


Also comment at mdcache_create_handle() indicates that it takes "key"
but the actual argument "struct gsh_buffdesc *hdl_desc" is written as
"Buffer descriptor for the "wire" handle".  Is this wire handle or
key?
If this is not the "key", then we will be looking for an incorrect
object, right?

Regards, Malahal.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to