Whamcloud - gitweb
LU-143 fid hash improvements
authorLiang Zhen <liang@whamcloud.com>
Tue, 29 Mar 2011 08:44:41 +0000 (16:44 +0800)
committerOleg Drokin <green@whamcloud.com>
Mon, 12 Dec 2011 21:43:56 +0000 (16:43 -0500)
commit23d5254c8d607a0ae1065853011ecfc82f0543a2
tree5e6a0fd6a0c391335ffe7031c8fa0cb50a2d48fd
parentad538dba7f5259df31fc45e90835edc12756db40
LU-143 fid hash improvements

Current hash function of fid is not good enough for lu_site and
ldlm_namespace.
We have to use two totally different hash functions to hash fid into
hash table with millions of entries.

Change-Id: I6261e63a406118a93d578210c31e67fc7f9e389c
Signed-off-by: Liang Zhen <liang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/374
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
libcfs/libcfs/hash.c
lustre/ldlm/ldlm_resource.c
lustre/obdclass/lu_object.c