Whamcloud - gitweb
LU-8626 hsm: count the number of started requests of each type 77/28677/9
authorQuentin Bouget <quentin.bouget@cea.fr>
Thu, 24 Aug 2017 11:16:04 +0000 (13:16 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 17 Dec 2017 06:18:45 +0000 (06:18 +0000)
commit973759d1ff3bbcb217754bd9942fdf670dec2d96
treef75ad7c5ce4f98e7ac270cc296ca73b8d1eef5de
parent462c7aae05dfc9cd730f44ffdc661c4c36294012
LU-8626 hsm: count the number of started requests of each type

Add counters in the coordinator to keep track of how many started hsm
requests of each type (ARCHIVE, RESTORE, REMOVE) the coordinator is
managing. There is no counter for CANCEL requests as the coordinator
does not keep track of them like it does for the other requests.

Test-Parameters: trivial testlist=sanity-hsm
Signed-off-by: Quentin Bouget <quentin.bouget@cea.fr>
Change-Id: I0c1e9881f2f6a4f005dfc3545b1b51714eb91b7b
Reviewed-on: https://review.whamcloud.com/28677
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Stephan Thiell <sthiell@stanford.edu>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h