summaryrefslogtreecommitdiff
path: root/lib/btrfs
AgeCommit message (Collapse)Author
2023-07-25Don't try to read the chunk tree until all devices are addedLuke Shumaker
2023-07-23btrfs: Export SuperBlockSizeLuke Shumaker
2023-07-23btrfssum: Don't emit JSON strings that are too longLuke Shumaker
Split it, and wrap it in an array.
2023-07-23Pull the json-hex-encoding from shortsum to jsonutilLuke Shumaker
2023-05-06btrfstree: Fix an issue with .Padding pointing to a buffer it doesn't ownLuke Shumaker
2023-04-17btrfsutil: RebuiltTree: Properly track errors for the btrfstree.Tree APILuke Shumaker
2023-04-17btrfstree: Wrap the error for UUID lookup failuresLuke Shumaker
2023-04-17btrfs: FS: AcquireNode: Shorten errorsLuke Shumaker
2023-04-17btrfs: Subvolume: loadFile: Fix errors around extent gapsLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Add a lax-ancestor modeLuke Shumaker
2023-04-17btrfstree: Path.NodeExpectations(): Drop the ability to fail openLuke Shumaker
2023-04-13btrfsitem: Fix Extent.Clone() and Metadata.Clone()Luke Shumaker
2023-04-09btrfs: AcquireNode: Have expectation errors reflect the correct functionLuke 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-04maps: Add HasKey and HaveAnyKeysInCommon functions, use themLuke Shumaker
2023-04-04btrfstree: Fix some error messages from NodeExpectations.CheckLuke Shumaker
2023-03-30btrfs: ReadableFS: Also embed btrfstree.NodeSourceLuke Shumaker
2023-03-30tree-wide: Drop the old btrfstree.TreeOperator APILuke Shumaker
2023-03-30btrfs: Migrate to the new btrfstree.Forrest APILuke Shumaker
2023-03-30btrfs: Fuss with indentation in prep for the next commitLuke 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-29btrfs: io3_btree.go: Fix ordering of sectionsLuke Shumaker
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-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-17btrfs: io4_fs.go: Subvolume: Don't have public members; use a constructorLuke 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 type doc comments follow the expected formatLuke Shumaker
This is a notable improvement in the docs for btrfsitem.