MCPcopy
hub / github.com/NVIDIA/aistore / GetCapStatus

Function GetCapStatus

fs/fs.go:1101–1106  ·  view source on GitHub ↗

capacity management

()

Source from the content-addressed store, hash-verified

1099//
1100
1101func GetCapStatus() (cs CapStatus) {
1102 mfs.cmu.RLock()
1103 cs = mfs.cs
1104 mfs.cmu.RUnlock()
1105 return
1106}
1107
1108func RefreshCapStatus(config *cmn.Config, mpcap MPCap) (cs CapStatus, err error) {
1109 var (

Callers 15

extractShardMethod · 0.92
createShardMethod · 0.92
RunCleanupFunction · 0.92
RunLRUFunction · 0.92
visitObjMethod · 0.92
EncodeObjectMethod · 0.92
RestoreObjectMethod · 0.92
_postBMDMethod · 0.92
httpobjputMethod · 0.92
validateMakeNCopiesMethod · 0.92
validateNpropsMethod · 0.92
validateBckRenTxnMethod · 0.92

Calls 2

RLockMethod · 0.65
RUnlockMethod · 0.65

Tested by

no test coverage detected