Whamcloud - gitweb
EX-8042 lipe: Fix size calculation when using -blocks option
authorVitaliy Kuznetsov <vkuznetsov@ddn.com>
Thu, 18 Jan 2024 11:31:36 +0000 (12:31 +0100)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 23 Jan 2024 02:03:43 +0000 (02:03 +0000)
commit1f02429a7aa520fd2f9f212d73d102e3fa55f2c0
treede72ca750f25a2f917dc7d739837401434d1bc4b
parent0b8a3723b84ce0e34985f88a22fbd905d3c8ae2d
EX-8042 lipe: Fix size calculation when using -blocks option

This patch fixes the size calculation in the "-blocks"
option when specifying the exact size value "n[bkMG]".

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