diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-12-31 10:13:00 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-05 19:48:17 -0700 |
commit | 0e73803c2f951fe9f9f0c09e8c2bf14ac0cd8ef2 (patch) | |
tree | aef967cd08531b6e26d80e5bd20a486f19a7e3f7 /lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees | |
parent | b1a69c59fdfbdb43de7f8ab949cfed19fcef6387 (diff) |
rebuildnodes/btrees: Tune cache sizes
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees')
-rw-r--r-- | lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go b/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go index c0b7698..ef6da6f 100644 --- a/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go +++ b/lib/btrfsprogs/btrfsinspect/rebuildnodes/btrees/forrest.go @@ -85,8 +85,8 @@ func NewRebuiltForrest( cbLookupUUID: cbLookupUUID, trees: make(map[btrfsprim.ObjID]*RebuiltTree), - allItems: containers.NewLRUCache[btrfsprim.ObjID, *itemIndex](textui.Tunable(16)), - incItems: containers.NewLRUCache[btrfsprim.ObjID, *itemIndex](textui.Tunable(16)), + allItems: containers.NewLRUCache[btrfsprim.ObjID, *itemIndex](textui.Tunable(8)), + incItems: containers.NewLRUCache[btrfsprim.ObjID, *itemIndex](textui.Tunable(8)), } } |