summaryrefslogtreecommitdiff
path: root/lib/btrfsutil/old_rebuilt_forrest.go
AgeCommit message (Collapse)Author
2023-04-17cmd/btrfs-rec, btrfsutil: Delete OldRebuiltForrestLuke Shumaker
2023-04-17btrfstree: Path.NodeExpectations(): Drop the ability to fail openLuke Shumaker
2023-04-09btrfstree: Do a better job of checking node ownershipLuke Shumaker
This now considers the interior nodes *between* the root and the leaf, instead of just considering the root and the leaf.
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: OldRebuiltTree: Include the node address in errorsLuke Shumaker
2023-04-02btrfsutil: OldRebuiltForrest: TreeWalk: At least visit leaf nodesLuke 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: 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-30tree-wide: Funnel all btrfstree.ReadNode[btrfsvol.LogicalAddr]() calls ↵Luke Shumaker
through btrfstree.NodeSource.ReadNode()
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-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-17containers: Add OptionalValue and OptionalNilLuke 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-17btrfsutil: OldRebuiltForrest: Drop skinny pathsLuke Shumaker
This changes errors to not have a Path attached to them, only tracking their spans; and it changes the Paths from TreeWalk to only have the leaf node.
2023-03-17btrfsutil: OldRebuiltForrest: Move .addErrs() from the forrest to the treeLuke Shumaker
2023-03-17btrfsutil: OldRebuiltForrest: Don't use Paths when tracking errorsLuke Shumaker
2023-03-17btrfstree: Have ReadNode return a *Node rather than a *diskio.Ref[Addr, Node]Luke Shumaker
... and take a ReaderAt instead of a diskio.File.
2023-03-15btrfsutil: OldRebuiltForrest: errors: Show key range instead of pathLuke Shumaker
2023-03-15btrfstree: Have errors include context of what was being searched forLuke Shumaker
2023-03-15btrfstree: Distinguish between tree-not-found and item-not-foundLuke Shumaker
2023-03-15btrfsutil: OldRebuiltForrest: Fuss with indentation in rawTreeWalkLuke Shumaker
2023-03-15btrfsutil: OldRebuiltForrest: Pull the cbs.Item nil check out of the loopLuke Shumaker
2023-03-15tree-wide: Refer to item "slots" rather than "indexes"Luke Shumaker
2023-03-14Update identifiers and comments to reflect new file/package namesLuke Shumaker
2023-03-14Move files around [ci-skip]Luke Shumaker