Whamcloud - gitweb
LU-18834 obdclass: check overflow when doing sum in stats 66/58566/3
authorEmoly Liu <emoly@whamcloud.com>
Fri, 28 Mar 2025 10:30:54 +0000 (18:30 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 10 Apr 2025 06:59:28 +0000 (06:59 +0000)
commit2fdb3f6c9654c41a48aec6ece600d15a744ce5e8
treee7bf0c4e3bb06c08d94ecb0652c7d76b1ded9316
parent7e5a5855ca19d3fe773b17a19c78a022b27bdfcb
LU-18834 obdclass: check overflow when doing sum in stats

Check overflow when calculating cl_sum and cl_sumsquare in stats.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Icdf31324ef0f06adc184e6fe5348acad25962d53
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58566
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Zhenyu Xu <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/obdclass/lprocfs_status.c