diff options
author | Sasha Levin <[email protected]> | 2014-10-21 16:43:55 -0400 |
---|---|---|
committer | Jan Kara <[email protected]> | 2014-10-22 10:02:04 +0200 |
commit | 3c9cafe05ff002eb84d438a02f3c8d468720463b (patch) | |
tree | cf3d905c079b6e2f8b00d97523c8b4cdacf8edc1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 474d2605d119479e5aa050f738632e63589d4bb5 (diff) |
fs, jbd: use a more generic hash function
While the hash function used by the revoke hashtable is good somewhere else,
it's not really good here.
The default hash shift (8) means that one third of the hashing function
gets lost (and is undefined anyways (8 - 12 = negative shift)):
"(block << (hash_shift - 12))) & (table->hash_size - 1)"
Instead, just use the kernel's generic hash function that gets used everywhere
else.
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions