Documentation ¶
Overview ¶
Package space provides storage cleanup and eviction functionality (the latter based on the least recently used cache replacement). It also serves as a built-in garbage-collection mechanism for orphaned workfiles.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package space provides storage cleanup and eviction functionality (the latter based on the least recently used cache replacement). It also serves as a built-in garbage-collection mechanism for orphaned workfiles.
- Copyright (c) 2021-2022, NVIDIA CORPORATION. All rights reserved.
Package space provides storage cleanup and eviction functionality (the latter based on the least recently used cache replacement). It also serves as a built-in garbage-collection mechanism for orphaned workfiles.
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunCleanup ¶
Types ¶
type IniLRU ¶
type IniLRU struct { T cluster.Target Xaction *XactLRU StatsT stats.Tracker Buckets []cmn.Bck // list of buckets to run LRU GetFSUsedPercentage func(path string) (usedPercentage int64, ok bool) GetFSStats func(path string) (blocks, bavail uint64, bsize int64, err error) WG *sync.WaitGroup Force bool // Ignore LRU prop when set to be true. }
Click to show internal directories.
Click to hide internal directories.