diff options
author | Sage Weil <sage@newdream.net> | 2008-01-29 06:24:38 +0100 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2008-01-29 06:24:38 +0100 |
commit | 204c175eea3db5d9ef262234454cde4f3527e4f8 (patch) | |
tree | 8e3c3c54a87d0a129f5f9c241d1f2361b8b30b34 | |
parent | mds: adjust cap issue sequence to avoid unnecessary file_caps messages (diff) | |
download | ceph-204c175eea3db5d9ef262234454cde4f3527e4f8.tar.xz ceph-204c175eea3db5d9ef262234454cde4f3527e4f8.zip |
msg: blobhash on entity_name_t causes strange badness... should look into that, but avoid for nowv0.1
-rw-r--r-- | src/msg/msg_types.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/msg/msg_types.h b/src/msg/msg_types.h index 033fa15ac98..f1a0f3e9718 100644 --- a/src/msg/msg_types.h +++ b/src/msg/msg_types.h @@ -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); } }; } |