Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pkg/ddc/goosefs/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ var (
cachedPercentageFormat = "%.1f%%"
)

// queryCacheStatus checks the cache status
// queryCacheStatus checks the cache status of the GooseFS engine.
// It retrieves the fsadmin report summary from GooseFS, parses the summary to
// obtain cache states, and updates the dataset status accordingly. Additionally,
// it retrieves the cache hit states and returns them along with the overall cache states.
func (e *GooseFSEngine) queryCacheStatus() (states cacheStates, err error) {
// get goosefs fsadmin report summary
summary, err := e.GetReportSummary()
Expand Down
Loading