Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.4.0
-
None
-
3
-
7964
Description
In class_handle_hash() if a cookie of zero is really so dangerous then perhaps it shouldn't be used.
h->h_cookie = handle_base;
if (unlikely(handle_base == 0)) {
/*
* Cookie of zero is "dangerous", because in many places it's
* assumed that 0 means "unassigned" handle, not bound to any
* object.
*/
CWARN("The universe has been exhausted: cookie wrap-around.\n");
handle_base += HANDLE_INCR;
}