Whamcloud - gitweb
EX-8130 lipe: Add helper functions for stats
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Tue, 5 Mar 2024 14:32:25 +0000 (15:32 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 9 Mar 2024 07:42:57 +0000 (07:42 +0000)
commit98acd99c1537d00087ddfa488dd5fd8061f450b5
tree720902cfa27bb62f80e84dc2ba9d24ca2c2fda7c
parentf274598c7c1d85d1815807ad5bc6b1314aaa3ad8
EX-8130 lipe: Add helper functions for stats

This patch adds several helper functions for working with
directory size statistics. Also add ls3_stats_rm_first_dir()
which remove the directory from the list to increase counters.

Test-Parameters: trivial
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I04807846b49d6fb0e476b8bf146ba337f80e3d5e
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53962
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexandre Ioffe <aioffe@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/src/lipe_scan3/ls3_dir_stats.c