forked from Minki/linux
staging/lustre/lnet: Dropped messages are not accounted correctly
LNET messages that are dropped are not accounted for correctly in /proc/sys/lnet/stats. What I assume to be a simple typo is causing drop_length to be double-counted and drop_count to never be incremented. Signed-off-by: Matt Ezell <ezellma@ornl.gov> Reviewed-on: http://review.whamcloud.com/9096 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4577 Reviewed-by: James Nunez <james.a.nunez@intel.com> Reviewed-by: James Simmons <uja.ornl@gmail.com> Reviewed-by: Isaac Huang <he.huang@intel.com> Reviewed-by: Liang Zhen <liang.zhen@intel.com> Signed-off-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0b291b9a98
commit
b3d0dfe5ab
@ -338,7 +338,7 @@ lnet_counters_get(lnet_counters_t *counters)
|
||||
counters->send_count += ctr->send_count;
|
||||
counters->recv_count += ctr->recv_count;
|
||||
counters->route_count += ctr->route_count;
|
||||
counters->drop_length += ctr->drop_length;
|
||||
counters->drop_count += ctr->drop_count;
|
||||
counters->send_length += ctr->send_length;
|
||||
counters->recv_length += ctr->recv_length;
|
||||
counters->route_length += ctr->route_length;
|
||||
|
Loading…
Reference in New Issue
Block a user