Whamcloud - gitweb
EX-9212 lipe: Fix for 'stripe_count = -1' in stats reports
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Thu, 28 Mar 2024 18:11:47 +0000 (19:11 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 31 Mar 2024 15:35:39 +0000 (15:35 +0000)
commit9c68f3765beb42c5ce1c3545e3d1f25e27f50ca8
treecdc7f1590725fb321c9b1950b61d83e572ade37f
parent568c84eb252dd846fe1365aeb03db7883f7ca58a
EX-9212 lipe: Fix for 'stripe_count = -1' in stats reports

This patch corrects the display of the range for the table by the
number of stripes. Now the range will only contain one position
and will support a value of -1.

Also corrects the display for a range in other tables by
removing the fractional part.

For example:
[        -1 ] ...
[         1 ] ...
[         2 ] ...
[        10 ] ...

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