Whamcloud - gitweb
b=16777
authoryury <yury>
Sat, 13 Sep 2008 17:47:04 +0000 (17:47 +0000)
committeryury <yury>
Sat, 13 Sep 2008 17:47:04 +0000 (17:47 +0000)
commit8073f0e4bef2db551a4b4bcaeb72a9986571f1bd
tree93552bb146c7c30ce4d6cc40b27c9360528e1841
parentac391ce3aa27602c81890e8b7e74bff74eb36e50
b=16777
r=adilger,robert

- fixes server side scalability issue which became visible with lru resize work landed.
It replcaes linear list of held locks on server with hash table from class_hash.c which improves lock find time drastically for case when one client holds ~limit of server locks (quite a big number for big servers) which is very possible if all clients are idle and one compiles kernel, etc.
13 files changed:
lustre/include/lustre_dlm.h
lustre/include/lustre_export.h
lustre/ldlm/ldlm_flock.c
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/mdt/mdt_handler.c
lustre/mgs/mgs_handler.c
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/obdecho/echo.c
lustre/obdfilter/filter.c