Whamcloud - gitweb
LU-9338 hsm: cache agent record locations 01/26901/5
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 23 Feb 2016 17:26:00 +0000 (11:26 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Jun 2017 03:55:39 +0000 (03:55 +0000)
commit65effa6dcb5e34ec9e91c86e35c52bc85562cf8b
tree66bc30d65032aea66ce23dd41aace5ec82e4c691
parent59c25356208706b4dd0920bc7754f21e2db14a0f
LU-9338 hsm: cache agent record locations

Create a cookie indexed hash of record locations for the agent actions
log. Use this cache to avoid linear scans of the log in HSM RPC
handlers that must update given entries of the log.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I1b9bb0746e88fb0bed81fe1174b5d3c7abac1211
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/26901
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Ben Evans <bevans@cray.com>
Reviewed-by: Quentin Bouget <quentin.bouget@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_actions.c
lustre/mdt/mdt_hsm_cdt_client.c
lustre/mdt/mdt_internal.h