]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: Add helper to calculate percentage of free space available
authorLukas Herbolt <lukas@herbolt.com>
Thu, 14 May 2026 11:39:09 +0000 (13:39 +0200)
committerZorro Lang <zlang@kernel.org>
Fri, 15 May 2026 16:20:23 +0000 (00:20 +0800)
commit55f45a620c552ec77e69291f58b89c27a972ba9a
tree18c616ac1585b8cbf5336c3d2791278fecfa014c
parent8c69a37c4f4c32f49957bc9720e11304de6fca33
common/rc: Add helper to calculate percentage of free space available

It calculates percentage of filesystem available space and returns it
in MB. This helper will be used in the following test/generic fixes.

Signed-off-by: Lukas Herbolt <lukas@herbolt.com>
Reviewed-by: Zorro Lang <zlang@kernel.org>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc