From 1736e78e6d148facdc65727d43d70ceacbae7021 Mon Sep 17 00:00:00 2001 From: nikita Date: Mon, 20 Nov 2006 14:35:12 +0000 Subject: [PATCH] lu: now that we have larger hash table, switch to the simpler hash. --- lustre/obdclass/lu_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/obdclass/lu_object.c b/lustre/obdclass/lu_object.c index 699ac1d..083fde3 100644 --- a/lustre/obdclass/lu_object.c +++ b/lustre/obdclass/lu_object.c @@ -431,7 +431,7 @@ static __u32 fid_hash(const struct lu_fid *f, int bits) { /* all objects with same id and different versions will belong to same * collisions list. */ -#if 0 +#if 1 return (fid_seq(f) - 1) * LUSTRE_SEQ_MAX_WIDTH + fid_oid(f); #else unsigned long hash; -- 1.8.3.1