Whamcloud - gitweb
LU-10383 hsm: consolidate CDT restore handle handling 57/30557/4
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 15 Dec 2017 19:24:32 +0000 (13:24 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 14 Jan 2018 02:37:52 +0000 (02:37 +0000)
commit5d58d8a88bbeff676c8c115382dd2570e79eba41
tree1cf7eaf9e6f410c3ef1b27af84abab346e58a18b
parent75358628445eca5030b3e2bbec5d02d25fa0ed21
LU-10383 hsm: consolidate CDT restore handle handling

Consolidate duplicated HSM coordinator restore handle handling into
new functions cdt_restore_handle_{add,del_(). Rename
mdt_hsm_restore_hdl_find() and some struct members for consistency.

Test-Parameters: trivial testlist=sanity-hsm
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I9798ed93ea26a9d61d4786540c6dae95cdc38c4b
Reviewed-on: https://review.whamcloud.com/30557
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_agent.c
lustre/mdt/mdt_hsm_cdt_client.c
lustre/mdt/mdt_internal.h