We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dabe1ed commit 7937903Copy full SHA for 7937903
1 file changed
pkg/ddc/goosefs/cache.go
@@ -31,7 +31,10 @@ var (
31
cachedPercentageFormat = "%.1f%%"
32
)
33
34
-// queryCacheStatus checks the cache status
+// queryCacheStatus checks the cache status of the GooseFS engine.
35
+// It retrieves the fsadmin report summary from GooseFS, parses the summary to
36
+// obtain cache states, and updates the dataset status accordingly. Additionally,
37
+// it retrieves the cache hit states and returns them along with the overall cache states.
38
func (e *GooseFSEngine) queryCacheStatus() (states cacheStates, err error) {
39
// get goosefs fsadmin report summary
40
summary, err := e.GetReportSummary()
0 commit comments