Whamcloud - gitweb
LU-445 lnet: Send timestamps with LNet counters
authorWally Wang <wang@cray.com>
Wed, 22 Jun 2011 17:53:03 +0000 (10:53 -0700)
committerOleg Drokin <green@whamcloud.com>
Tue, 6 Mar 2012 02:03:38 +0000 (21:03 -0500)
commitbc5b01bba4a6d934bb1092fab37adc9295a98487
treecd52ea3522b3ac44db21702e60b469bb8e4eb434
parent8775fe0a40706b6999aa737fba1c162ce08b8ade
LU-445 lnet: Send timestamps with LNet counters

We use a millisecond timer on a per-session basis. Each node then
sends the milliseconds since session start over with the LNet
counters. With 32bits and millisecond resolution, this should
allow ~49 days of session age before the timers would wrap.

This will change the wire attribute and not backward compatible.

Change-Id: I0dc6498d187ccc900b86d21b0460e1d419770033
Signed-off-by: Wally Wang <wang@cray.com>
Signed-off-by: Liang Zhen <liang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/1000
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: <bruce.korb@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <laisiyao@whamcloud.com>
lnet/include/lnet/lnetst.h
lnet/selftest/framework.c
lnet/selftest/selftest.h
lnet/utils/lst.c