summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-02-04Move sumrunwithgaps.go from btrfssum to rebuildmappingsLuke Shumaker
2023-02-04btrfssum: Split shortsum.go in to several filesLuke Shumaker
2023-02-03Remove the SPDX-License-Identifier from generated filesLuke Shumaker
2023-01-30Split lib/containers.Sync* to git.lukeshu.com/go/typedsyncLuke Shumaker
2023-01-30Upgrade to lowmemjson v0.2.0Luke Shumaker
2023-01-30streamio: Optimize based on the profilerLuke Shumaker
2023-01-25Move btrfs-rec's logging RuneScanner to a new `streamio` packageLuke Shumaker
2023-01-25textui: Avoid allocating strings when loggingLuke Shumaker
2023-01-25textui: Go ahead and implement that logBufPoolLuke Shumaker
2023-01-25containers: Add SyncValue and SyncPool typesLuke Shumaker
2023-01-25cmd/btrfs-rec: Add flags for writing profilesLuke Shumaker
2023-01-07fixup! rebuildnodes/btrees: Don't include .Items() in .PotentialItems()Luke Shumaker
2023-01-05rebuildnodes/btrees: Switch from a sync.Mutex to a sync.RWMutexLuke Shumaker
2023-01-05rebuildnodes: Speed up treeAugmentQueue.has()Luke Shumaker
2023-01-05rebuildnodes: Don't store negative results that are unlikely to come up againLuke Shumaker
2023-01-05rebuildnodes: _walkRange: Tidy upLuke Shumaker
2023-01-05rebuildnodes: Factor out repeated code in _wantRangeLuke Shumaker
2023-01-05rebuildnodes/btrees: Rework RebuiltTree.items() to be faster in the happy-pathLuke Shumaker
And also have the cache consume less memory.
2023-01-05rebuildnodes/btrees: Don't include .Items() in .PotentialItems()Luke Shumaker
Save some memory.
2023-01-05rebuildnodes/btrees: Rework to avoid the .Leafs memberLuke Shumaker
Save some memory.
2023-01-05rebuildnodes/btrees: Move code up/down in the file, add commentsLuke Shumaker
2023-01-05rebuildnodes/btrees: Touch up a commentLuke Shumaker
2023-01-05rebuildnodes: Track inode flags, to avoid later i/oLuke Shumaker
2023-01-05Try to get log-lines to be shorterLuke Shumaker
2023-01-05rebuildnodes/btrees: Enhance logging around failure to add a treeLuke Shumaker
2023-01-05rebuildnodes/btrees: Cache failures to add a treeLuke Shumaker
2023-01-05rebuildnodes/btrees: Fix logging of the add-tree stackLuke Shumaker
2023-01-05rebuildnodes: Avoid i/o reading items for which handleItem is a no-opLuke Shumaker
2023-01-05rebuildnodes: Compact augment keys to save spaceLuke Shumaker
2023-01-05rebuildnodes: Add optimized storage for nil augmentsLuke Shumaker
2023-01-05rebuildnodes: Fix retrying treesLuke Shumaker
2023-01-05rebuildnodes: Log how many queued augments there areLuke Shumaker
2023-01-05rebuildnodes: Check for INODE_NODATASUM before looking for csumsLuke Shumaker
2023-01-05rebuildnodes: Tidy up errors and key managementLuke Shumaker
2023-01-05rebuildnodes: Optimize storage for single-item augmentsLuke Shumaker
2023-01-05rebuildnodes: Strategically scope variables, add runtime.GC() callsLuke Shumaker
"Ignore space change" is probably useful for viewing this diff.
2023-01-05rebuildnodes: Don't try to add the same augment twiceLuke Shumaker
This should save some memory and some log i/o.
2023-01-05rebuildnodes/btrees: Allow leaf-node indexes to be evictedLuke Shumaker
2023-01-05rebuildnodes: Parallelize I/O and CPULuke Shumaker
2023-01-05rebuildnodes/btrees: Tune cache sizesLuke Shumaker
2023-01-05textui: Add doc comments for LiveMemUseLuke Shumaker
2023-01-05rebuildnodes/btrees.RebuiltTree: Try to remove methodsLuke Shumaker
Now that .Items() is public, some of the search methods are superfluous, and in fact all .SearchAll calls would be more efficient as .Items.Subrange calls. And rename .Load to .ReadItem, so that grepping for it doesn't mix up with .Items.Load.
2023-01-05rebuildnodes/btrees: Allow item rbtrees to be evictedLuke Shumaker
2023-01-05rebuildnodes/btrees: Refactor to split the forrest from the treesLuke Shumaker
2023-01-05cmd/btrfs-rec inspect rebuild-nodes: Optimize memory useLuke Shumaker
2023-01-05rebuildnodes: Support graceful shutdownLuke Shumaker
2023-01-05rebuildnodes: Optimize: Rethink queue orderingLuke Shumaker
Hopefully this is more sequential, which should help things.
2023-01-05rebuildnodes: Optimize: Avoid unnescessary disk access for existence-checkLuke Shumaker
2023-01-05rebuildnodes: Optimize: Try to avoid disk access for DIR_INDEXLuke Shumaker
2023-01-05textui/log.go: Fix copyright statementLuke Shumaker