Whamcloud - gitweb
LU-13299 lnet: add "stats reset" to lnetctl 50/44150/2
authorCyril Bordage <cbordage@whamcloud.com>
Tue, 6 Jul 2021 12:26:09 +0000 (14:26 +0200)
committerOleg Drokin <green@whamcloud.com>
Sat, 31 Jul 2021 06:39:18 +0000 (06:39 +0000)
commitdb0b09018e77114667a1b0fbd6c04194f56cb492
tree7063ad3d7643f69d8180a0fe9b7f508a26433bd2
parent4668283cd13079dd6d86482704aef593f5c01dff
LU-13299 lnet: add "stats reset" to lnetctl

This new command resets stats shown by "lnetctl stats show". It could
be useful when debugging connectivity issues, by making easier the
process to detect the changes in stats from the clean state rather
than on top of historical values.

Signed-off-by: Cyril Bordage <cbordage@whamcloud.com>
Change-Id: I4195a862fa5e04d96ac4c2b1509b625c90fbb579
Reviewed-on: https://review.whamcloud.com/44150
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/include/uapi/linux/lnet/libcfs_ioctl.h
lnet/lnet/api-ni.c
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetconfig/liblnetconfig.h
lnet/utils/lnetctl.c