Whamcloud - gitweb
LU-11422 lnet: Fix selftest backward compatibility post health 42/33242/8
authorSonia Sharma <sharmaso@whamcloud.com>
Sun, 23 Sep 2018 16:15:31 +0000 (12:15 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 Oct 2018 01:51:17 +0000 (01:51 +0000)
commit60f6f2b480b482f2022cbea416d8bea87f848bec
treed3b51027a1fe19a71f275816e32b7db1348c878b
parent02b6b6746af7e032df51001926fe1d59143520da
LU-11422 lnet: Fix selftest backward compatibility post health

Post LNet health feature landing, lnet-selftest loses
backward compatibility. This patch fixes that by
adding a new structure lnet_counters_common similar
to lnet_counters(pre-Health version). Now,
lnet_counters_common is the struct that selftest depends on.

Also, adds a struct lnet_counters_health specifically
for health stats.

Change-Id: Ia066ff7b3522738080d192e80c14cf5ac55a33e2
Test-Parameters: trivial testlist=lnet-selftest clientjob=lustre-b2_10 clientbuildno=136
Signed-off-by: Sonia Sharma <sharmaso@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/33242
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Tested-by: Jenkins
Tested-by: Andreas Dilger <adilger@whamcloud.com>
12 files changed:
lnet/include/lnet/lib-lnet.h
lnet/include/uapi/linux/lnet/lnet-types.h
lnet/lnet/api-ni.c
lnet/lnet/lib-move.c
lnet/lnet/lib-msg.c
lnet/lnet/router_proc.c
lnet/selftest/console.c
lnet/selftest/framework.c
lnet/selftest/module.c
lnet/selftest/rpc.h
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lst.c