Whamcloud - gitweb
LU-8626 hsm: expose the number of active hsm requests per type 36/30336/8
authorQuentin Bouget <quentin.bouget@cea.fr>
Fri, 1 Dec 2017 11:41:44 +0000 (11:41 +0000)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Jan 2018 02:48:20 +0000 (02:48 +0000)
commit42e40555f250b83730d233dc5e22fd1f9396ccfe
treea8b8607542fd908a5979f132351acccca6ce67c7
parentf75631655890260549b12233589ee4b2074f20ce
LU-8626 hsm: expose the number of active hsm requests per type

This patch creates 3 new proc files under the hsm directory:
 - archive_count
 - restore_count
 - remove_count

These should help monitor the coordinator's health and allow
policy engine to adapt their request flow.

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