Whamcloud - gitweb
EX-9609 lipe: Add sorting to reports by directory sizes
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Tue, 11 Jun 2024 11:40:38 +0000 (13:40 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 12 Jun 2024 09:05:42 +0000 (09:05 +0000)
commitf466f41955f3050d47cfd687680f2f356e501a7a
treeab7f9154db25b75bb20ed39b33a15aa27dc3e757
parentd8bb8b7964d4ee283c581a5161b44a5e800e0f85
EX-9609 lipe: Add sorting to reports by directory sizes

This patch does not change format the display of tables
in directory reports. This patch adds sorting to the directory
size report.  This patch also sorts the TOP-X rating table.
Sorting occurs in descending order of size. Sorting is done
based on the allocated size.

Test-Parameters: trivial testlist=sanity-lipe-scan3,sanity-lipe-find3
Signed-off-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Change-Id: I5d641660d7bf33cedb27612c04d1a7de43d78c75
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55395
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