linux/fs/jbd
Sasha Levin 3c9cafe05f 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 <sasha.levin@oracle.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2014-10-22 10:02:04 +02:00
..
checkpoint.c
commit.c jbd: relocate assert after state lock in journal_commit_transaction() 2013-08-01 23:25:38 +02:00
journal.c jbd/jbd2: use non-movable memory for the jbd superblock 2014-09-04 22:36:35 -04:00
Kconfig
Makefile
recovery.c
revoke.c fs, jbd: use a more generic hash function 2014-10-22 10:02:04 +02:00
transaction.c jbd: Revise KERN_EMERG error messages 2013-12-04 12:27:46 +01:00