Whamcloud - gitweb
Branch HEAD
authorliuy <liuy>
Thu, 12 Nov 2009 00:59:53 +0000 (00:59 +0000)
committerliuy <liuy>
Thu, 12 Nov 2009 00:59:53 +0000 (00:59 +0000)
commit314614462e473ccea9557368d1b3fdec13b429c3
treec87f36df7bf182af761b05f345d58c62c7b0a439
parentcaf29dcc653664b74428552d8426d9e64d9e1cfe
Branch HEAD
b=19518
o=liangzhen
i=adilger
i=bobijam

first step change to move lustre hashes to libcfs:
1. no access to lh_rwlock if LH_REHASH is not set
2. buckets are allocated one by one, to avoid unnecessary cacheline
   conflict (on bucket::lhb_rwlock) while searching.
3. OBD_ALLOC/FREE are replaced by LIBCFS_ALLOC/FREE
lustre/include/class_hash.h
lustre/obdclass/class_hash.c