summaryrefslogtreecommitdiff
path: root/lib/btrfs/btrfstree
AgeCommit message (Collapse)Author
2023-04-04btrfstree: Fix some error messages from NodeExpectations.CheckLuke Shumaker
2023-03-30tree-wide: Drop the old btrfstree.TreeOperator APILuke 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: Move Path.NodeExpectations from readnode.go to path.goLuke 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-30btrfstree: Maximum node level is 8Luke Shumaker
2023-03-29btrfstree: TreeOperatorImpl: Don't have NodeSource be embeddedLuke Shumaker
2023-03-29btrfstree: Move NodeExpectations to a separate fileLuke 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-23btrfs: Subvolume: Use LookupTreeRootLuke Shumaker
2023-03-23btrfstree: LookupTreeRoot: Don't discard the context of an errorLuke Shumaker
2023-03-23btrfstree: Fuss with the TreeWalk APILuke Shumaker
2023-03-21btrfstree: Rework the RawTree implementation to be built around TreeWalkLuke Shumaker
2023-03-21btrfstree: Observe io/fs.SkipDir for PreKeyPointerLuke Shumaker
2023-03-21btrfstree: Move the implementations of methods to be on a separate tree objectLuke Shumaker
2023-03-19btrfstree: TreeRoot: Rename the member from TreeID to just IDLuke Shumaker
2023-03-19btrfstree: btree.go: Move TreeWalkHandler up in the fileLuke Shumaker
2023-03-19btrfstree: Have LookupTreeRoot take a ContextLuke Shumaker
2023-03-17containers: Add OptionalValue and OptionalNilLuke Shumaker
2023-03-17tree-wide: s/TreePath/Path/gLuke Shumaker
btrfstree.TreePath stutters.
2023-03-17btrfstree: Factor out NodeExpectations.Check() from ReadNode()Luke 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-17tree-wide: Turn on all revive linters (with exceptions)Luke Shumaker
2023-03-17tree-wide: Ensure that all existing method doc comments follow the expected ↵Luke Shumaker
format
2023-03-17tree-wide: Ensure that all packages have a doc commentLuke 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-15btrfstree: Shuffle things between filesLuke Shumaker
2023-03-15tree-wide: Refer to item "slots" rather than "indexes"Luke Shumaker
2023-03-15tree-wide: Have "interior" rather than "internal" be the antonym of "leaf"Luke Shumaker
Because "internal" has a meaning in the Go world, and it's confusing.
2023-03-15btrfstree: Fix commentsLuke Shumaker
2023-03-14Move files around [ci-skip]Luke Shumaker
2023-02-12btrfsprim: Have ObjID.Format() take the tree ID, not the item typeLuke Shumaker
2023-02-12Change how constants are declared to play nice with godocLuke Shumaker
Switch to NAME Type = val instead of NAME = Type(val)
2023-02-12btrfstree: Add a FreeNodeRef function, use itLuke Shumaker
2023-02-12tree-wide: Cache all calls to binstruct.StaticSizeLuke Shumaker
2023-02-12btrfstree: Add a Pool for byte slicesLuke Shumaker
2023-02-12btrfsitem: Have all Item implementations be pointers to structsLuke Shumaker
2023-02-12btrfstree: Pre-allocate node.BodyLeaf/node.BodyInternalLuke Shumaker
2023-02-05containers: s/Cmp/Compare/ to match the standard libraryLuke Shumaker
Go 1.18 added net/netip.Addr.Compare, and Go 1.20 added time.Time.Compare.
2023-01-01lint: Turn on gomndLuke Shumaker
2023-01-01lint: Turn on gofumptLuke Shumaker
All edits to .go files are made by `tools/bin/golangci-lint run --fix ./...`, not by me as a human.
2023-01-01lint: Turn on gocriticLuke Shumaker
2023-01-01tree-wide: Audit for simplistic type assertionsLuke Shumaker
2022-10-06fix bug with subvolume lookupLuke Shumaker
2022-10-06let skinny paths get evictedLuke Shumaker