Make the integer hash function a property of the bucket it is used on. This allows us to gracefully add support for new hash functions without starting from scatch. Signed-off-by: Sage Weil <sage@newdream.net> |
||
|---|---|---|
| .. | ||
| crush.c | ||
| crush.h | ||
| hash.c | ||
| hash.h | ||
| mapper.c | ||
| mapper.h | ||