mirror of
https://github.com/ceph/ceph
synced 2025-01-25 20:45:06 +00:00
msg: blobhash on entity_name_t causes strange badness... should look into that, but avoid for now
This commit is contained in:
parent
39d2a25ddf
commit
204c175eea
@ -89,8 +89,7 @@ namespace __gnu_cxx {
|
||||
{
|
||||
size_t operator()( const entity_name_t m ) const
|
||||
{
|
||||
static blobhash H;
|
||||
return H((const char*)&m, sizeof(m));
|
||||
return rjhash32(m.v.type) ^ rjhash32(m.v.num);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user