Whamcloud - gitweb
LU-9312 hsm: add a cookie indexed request hash 63/26763/3
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 17 Jun 2015 22:42:36 +0000 (15:42 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 May 2017 03:46:23 +0000 (03:46 +0000)
commitdded1e7283d66ebf673901caed90588a58096086
tree6936e08588c2af175371a776dca5edb98565c371
parentd29e7592eecd8dfc0198fd9f1279afa3f72066dd
LU-9312 hsm: add a cookie indexed request hash

Replace linear scans of the HSM coordinator's cdt_requests list with
lookups into a cookie indexed hash (cdt_request_cookie_hash). Rename
cdt_requests to cdt_request_list. Remove the unused function
mdt_hsm_get_running().

Change-Id: I97309aeeb0e02a07e8ddac9f1667989c65f01b8b
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-on: https://review.whamcloud.com/26763
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_client.c
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h