summaryrefslogtreecommitdiff
path: root/lib/btrfsutil
AgeCommit message (Collapse)Author
2023-04-04btrfsutil: RebuiltForrest: Include more info when logging failuresLuke Shumaker
2023-04-04btrfsutil: Rename unexported types to be clearer about which system they ↵Luke Shumaker
belong to - nodeInfo → oldRebuiltNodeInfo (old_rebuilt_forrest.go) - itemStats → rebuiltItemStats (rebuilt_tree.go) - rootStats → rebuiltRootStats (rebuilt_tree.go) - nodeScanner → nodeLister (listnodes.go) - nodeStats → nodeListStats (listnodes.go) - scanStats → devScanStats (scan.go)
2023-04-04btrfsutil: RebuiltTree.items: Simplify a touchLuke Shumaker
2023-04-04btrfsutil: Move the shared cache definitions from rebuilt_forrest.go to ↵Luke Shumaker
rebuilt_tree.go
2023-04-04btrfsutil: RebuiltTree: Have .items() take a bool instead of a funcLuke Shumaker
2023-04-04btrfsutil: GraphNode: Add a CheckExpectations methodLuke Shumaker
2023-04-04btrfsutil: RebuiltTree: Take better advantage of cache pinningLuke Shumaker
2023-04-04maps: Add HasKey and HaveAnyKeysInCommon functions, use themLuke Shumaker
2023-04-04btrfsutil: Add a ReadGraph function, rebuildtrees: Clean up scan to matchLuke Shumaker
2023-04-04btrfsutil: OldRebuiltTree: Include the node address in errorsLuke Shumaker
2023-04-03btrfsutil: RebuiltTree: Fix a commentLuke Shumaker
2023-04-02btrfsutil: GraphNode: Have .MinItem and .MaxItem work on interior nodes tooLuke Shumaker
2023-04-02btrfsutil: noopRebuiltForrestCallbacks: Add a missing failure-checkLuke Shumaker
2023-04-02btrfsutil: RebuiltTree: Update comments for the new cache interfaceLuke Shumaker
2023-04-02btrfsutil: OldRebuiltForrest: TreeWalk: At least visit leaf nodesLuke Shumaker
2023-04-02btrfsutil: Graph: I missed .FromItem in the "item"→"slot" switchLuke Shumaker
2023-03-30btrfsutil: OldRebuiltForrest: SimplifyLuke Shumaker
2023-03-30btrfs: ReadableFS: Also embed btrfstree.NodeSourceLuke Shumaker
2023-03-30btrfsutil: OldRebuiltForrest: Move ReadableFS methods to the endLuke Shumaker
...and touch up comments.
2023-03-30tree-wide: Drop the old btrfstree.TreeOperator APILuke Shumaker
2023-03-30btrfsutil, cmd: Migrate to the new btrfstree.Forrest APILuke Shumaker
2023-03-30btrfsutil: OldRebuiltForrest: Migrate to consume the new btree.Forrest APILuke Shumaker
2023-03-30btrfsutil: OldRebuiltForrest: Implement the new btrfstree.ForrestLuke Shumaker
2023-03-30btrfstree: Rethink the API, but leave the old API in placeLuke Shumaker
2023-03-30btrfstree: Rethink 'Path' yet againLuke Shumaker
2023-03-30btrfstree: Change the NodeSource API so that it can do cachingLuke Shumaker
2023-03-30btrfstree: Divorce ReadNode from NodeExpectationsLuke Shumaker
2023-03-30tree-wide: Funnel all btrfstree.ReadNode[btrfsvol.LogicalAddr]() calls ↵Luke Shumaker
through btrfstree.NodeSource.ReadNode()
2023-03-28containers: Rethink the caching librariesLuke Shumaker
2023-03-23btrfs: Consider the generation when checking if a node owner is OKLuke Shumaker
2023-03-23btrfstree: Add a 'generation' argument the owner validationLuke Shumaker
Validating a node's owner properly requires the generation. But don't worry about actually doing it properly yet, just update the API first.
2023-03-23btrfsutil: RebuiltTree: Allow nodes with .Gen == .ParentGenLuke Shumaker
2023-03-23btrfstree: Fuss with the TreeWalk APILuke Shumaker
2023-03-21btrfstree: Move the implementations of methods to be on a separate tree objectLuke Shumaker
2023-03-21btrfsutil: OldRebuiltForrest: Move the implementations of methods to the treesLuke Shumaker
2023-03-20btrfsutil: OldRebuiltForrest: Add some doc commentsLuke Shumaker
2023-03-20btrfsutil: OldRebuiltForrest: Move .TreeLookup() down within the fileLuke Shumaker
2023-03-20btrfsutil: OldRebuiltForrest: Have .RebuiltTree take a ContextLuke Shumaker
2023-03-20btrfsutil: OldRebuiltForrest: Simplify the TreeSearchAll implementationLuke Shumaker
2023-03-19btrfstree: TreeRoot: Rename the member from TreeID to just IDLuke Shumaker
2023-03-19btrfstree: Have LookupTreeRoot take a ContextLuke Shumaker
2023-03-17btrfsutil: RebuiltForrest: Accept nil callbacksLuke Shumaker
2023-03-17rebuildnodes/btrees: Rename methods to make API structure clearerLuke Shumaker
2023-03-17containers: Add OptionalValue and OptionalNilLuke Shumaker
2023-03-17btrfsutil: Merge KeyIO in to RebuiltForrestLuke Shumaker
2023-03-17btrfsutil: OldRebuiltForrest: Hoist logic from .RebuiltTree to .rawTreeWalkLuke Shumaker
It's OK that for ROOT_TREE_OBJECTID it now calls btrfstree.LookupTreeRoot on `bt` instead of `bt.inner`, because LookupTreeRoot doesn't actually use that argument for ROOT_TREE_OBJECTID.
2023-03-17btrfsutil: OldRebuildForrest: Drop the Augment methodLuke Shumaker
2023-03-17tree-wide: s/TreePath/Path/gLuke Shumaker
btrfstree.TreePath stutters.
2023-03-17btrfsinspect: PrintLogicalSpace and PrintPhysicalSpace are unusedLuke Shumaker
2023-03-17rebuildtrees: Move item-data from btrfsutil.KeyIO to scanLuke Shumaker