Whamcloud - gitweb
EX-9136 lipe: Update the display format for fstats
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Sat, 6 Apr 2024 09:08:34 +0000 (11:08 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 7 Apr 2024 19:15:07 +0000 (19:15 +0000)
commitae4f377d82a2e608c46e6d511e8b8546339ade59
treeefe1f550f8531e494c74863bd1ee985478f3bd98
parentaaec1c8bf1332b6c9fe4898beb8d93a856e9a9f1
EX-9136 lipe: Update the display format for fstats

This patch affects only .out format report types.
The data output format has been updated according to
the request in the ticket.

Also:
1. Fixed incorrect information display in some tables;
2. Expanded additional information for each table;
3. The size in tables is now displayed in various formats,
   not just in KB;
4. Except for the “File Size” table, the size obtained from
   block_size is now used everywhere;
5. Fixed an issue with displaying the allocated size
   for directories;
6. Fixed the total size calculation for all directories;
7. Removed tables that are not yet available;
8. Added additional information about the number of missed
   files for each table;
9. All txt information for working with reports in the .out
   format is combined into a single array to
   simplify code maintenance.

Test-Parameters: trivial testlist=sanity-lipe-scan3,sanity-lipe-find3
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: Id75b3af12ea00761850a9009848621539c016446
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/54658
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/src/lipe_scan3/ls3_dir_stats.c
lipe/src/lipe_scan3/ls3_dir_stats.h
lipe/src/lipe_scan3/ls3_stats.c
lipe/src/lipe_scan3/ls3_stats.h
lustre/tests/sanity-lipe-scan3.sh