From f66a68c6999ca5c3b997e3caed0f510e62859b41 Mon Sep 17 00:00:00 2001 From: chen-zhongbin <15019095138@163.com> Date: Sat, 30 May 2026 20:29:39 +0800 Subject: [PATCH] Add comments to Du in pkg/ddc/alluxio/operations/base.go. Signed-off-by: chen-zhongbin <15019095138@163.com> --- pkg/ddc/alluxio/operations/base.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/ddc/alluxio/operations/base.go b/pkg/ddc/alluxio/operations/base.go index d29b65c4641..111f243ce5f 100644 --- a/pkg/ddc/alluxio/operations/base.go +++ b/pkg/ddc/alluxio/operations/base.go @@ -508,6 +508,7 @@ func (a AlluxioFileUtils) Mkdir(alluxioPath string) (err error) { return } +// Du returns UFS size, cached size, and cache percentage for a path by running `alluxio fs du -s`. func (a AlluxioFileUtils) Du(alluxioPath string) (ufs int64, cached int64, cachedPercentage string, err error) { var ( command = []string{"alluxio", "fs", "du", "-s", alluxioPath}