summaryrefslogtreecommitdiff
path: root/cmd/btrfs-rec/inspect
AgeCommit message (Collapse)Author
2024-04-15kmp: Update an outdated commentHEADmasterLuke T. Shumaker
2024-04-15kmp: TidyLuke T. Shumaker
2023-07-25rebuildmappings process: Don't require --pvLuke Shumaker
2023-07-23rebuildmappings: Include existing mappings in the scan JSONLuke Shumaker
2023-07-23rebuildmappings scan: Include the device size and superblockLuke Shumaker
2023-07-22rebuildmappings scan: Fix a use-after-free bugLuke Shumaker
2023-07-22rebuildtrees: Better organize resolveTreeAugments()Luke Shumaker
2023-04-17btrfsutil.RebuiltForrest, rebuildtrees: Be more permissive of broken UUID_TREEsLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Have LookupRoot return an errorLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Have LookupUUID return an errorLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Add a lax-ancestor modeLuke Shumaker
2023-04-15Clean-up made possible by btrfsutil.RebuiltForrest implementing btrfs.ReadableFSLuke Shumaker
- rebuildtrees: Use .ForrestLookup instead of .RebuiltTree where possible - btrfsutil: noopRebuiltForrestCallbacks: Use only the generic btrfstree.Forrest API - btrfsutil: RebuiltForrest, RebuiltTree: Avoid unnecessarily reaching into forrest.inner - btrfsutil: RebuiltTree: Drop the .ReadItem() method; it duplicates .TreeLookup without benefit.
2023-04-13btrfsutil: RebuiltForrest.RebuiltTree(): Return errorsLuke Shumaker
2023-04-13rebuildtrees: Fuss with the settledItemQueue order to reduce cache-missesLuke Shumaker
2023-04-13btrfsutil: RebuiltForrest: Allow skipping the .AddedItem loopLuke Shumaker
2023-04-13btrfsutil: RebuiltForrest: Simplify by taking a btrfs.ReadableFSLuke Shumaker
2023-04-13Try to find misuses of textui.ProgressLuke Shumaker
- Add a runtime-check to Progress to notice if we deadlocked or forgot to call .Done(). - Add a runtime-check to Progress.Done() to panic if .Set() was never called (instead of the old behavior of deadlocking). - grep: Use `defer` when possible, to help remember to call .Done(). - grep: Always either call .Set() right away, or right before calling .Done().
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-03-30cmd/btrfs-rec: Add a runWithReadableFS helper for rebuilt forrestsLuke Shumaker
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-30btrfs: Migrate to the new btrfstree.Forrest APILuke 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-28containers: Rethink the caching librariesLuke Shumaker
2023-03-23btrfs: Subvolume: Use LookupTreeRootLuke Shumaker
2023-03-23btrfstree: Fuss with the TreeWalk APILuke Shumaker
2023-03-19btrfstree: Have LookupTreeRoot take a ContextLuke 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-17cmd/btrfs-rec: inspect ls-files: Move the code to a sub-packageLuke 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-17rebuildtrees: Be careful about what types are exportedLuke Shumaker
2023-03-17rebuildtrees: Be careful about what methods are exportedLuke Shumaker
2023-03-17rebuildtrees: Move item-data from btrfsutil.KeyIO to scanLuke Shumaker
2023-03-17rebuildmappings: Audit identifier namesLuke 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.
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-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-14tree-wide: Don't pass around a full rebuildmappings.ScanDevicesResult when a ↵Luke Shumaker
simple list of nodes will do
2023-03-14Factor out the device-scan loop from rebuildmappings in to btrfsutilLuke Shumaker