Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-17 | Merge branch 'lukeshu/rebuilt-v2-pt2-lax-parents' | Luke Shumaker | |
2023-04-17 | btrfsutil: RebuiltForrest: Add a lax-ancestor mode | Luke Shumaker | |
2023-04-17 | btrfstree: Path.NodeExpectations(): Drop the ability to fail open | Luke Shumaker | |
2023-04-16 | Merge branch 'lukeshu/rebuilt-misc' | Luke Shumaker | |
2023-04-16 | btrfsutil: RebuiltTree: TreeWalk: Touch up | Luke Shumaker | |
- Go ahead and have .NodeExpectations fail closed. It shouldn't make a difference at this point, but being stricter here is better. - Add a sanity check that the walker hasn't disagreed from the nodeIndex. At the leafs, the sanity check on items.Load should detect this, but let's detect it earlier to make things easier to debug. | |||
2023-04-16 | btrfsutil: RebuiltTree: Drop pointless `if`/indentation | Luke Shumaker | |
2023-04-16 | btrfsutil: RebuiltForrest: Be lazier about calling .RebuiltAddRoot() | Luke Shumaker | |
2023-04-15 | btrfsutil: RebuiltTree: Clean up locking | Luke Shumaker | |
2023-04-15 | Clean-up made possible by btrfsutil.RebuiltForrest implementing btrfs.ReadableFS | Luke 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-14 | Merge branch 'lukeshu/rebuilt-v2-pt1-naive' | Luke Shumaker | |
2023-04-13 | cmd/btrfs-rec: Add a way to use RebuiltForrest instead of OldRebuiltForrest | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltForrest: Naively implement the new btrfs.ReadableFS API | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltForrest.RebuiltTree(): Return errors | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltForrest: Have the ancestor id-to-ptr map persist | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltForrest: readItem: Return a full btrfstree.Item | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltTree: Track member interior nodes too | Luke Shumaker | |
2023-04-13 | btrfsutil: Graph: Track item sizes | Luke Shumaker | |
2023-04-13 | Merge branch 'lukeshu/rebuilt-misc' | Luke Shumaker | |
2023-04-13 | rebuildtrees: Fuss with the settledItemQueue order to reduce cache-misses | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltTree: Be strict about which KPs to consider valid | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltTree: Track the max-key for each path to a node | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltTree: Wrap leafToRoots in a struct | Luke Shumaker | |
The implication being that I plan on adding more members to the struct. | |||
2023-04-13 | btrfsutil: RebuiltTree: Refactor .uncachedLeafToRoots() | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltForrest: Allow skipping the .AddedItem loop | Luke Shumaker | |
2023-04-13 | btrfsutil: Split rebuilt_callbacks.go off from rebuilt_forrest.go | Luke Shumaker | |
2023-04-13 | btrfsutil: RebuiltForrest: Simplify by taking a btrfs.ReadableFS | Luke Shumaker | |
2023-04-13 | Merge branch 'lukeshu/fixes' | Luke Shumaker | |
2023-04-13 | maps: Get HaveAnyKeysInCommon to be inlinable | Luke Shumaker | |
2023-04-13 | Try to find misuses of textui.Progress | Luke 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-13 | s/INode/Inode/g | Luke Shumaker | |
2023-04-13 | btrfsitem: Fix Extent.Clone() and Metadata.Clone() | Luke Shumaker | |
2023-04-09 | Merge branch 'lukeshu/misc' | Luke Shumaker | |
2023-04-09 | btrfs: AcquireNode: Have expectation errors reflect the correct function | Luke Shumaker | |
2023-04-09 | btrfstree: Do a better job of checking node ownership | Luke Shumaker | |
This now considers the interior nodes *between* the root and the leaf, instead of just considering the root and the leaf. | |||
2023-04-09 | btrfsutil: RebuiltForrest: Don't bother listing trees with no roots | Luke Shumaker | |
2023-04-09 | containers: ARCache: Don't count "nested" uses as "frequent" uses | Luke Shumaker | |
This is a modification to how "pinning" is implemented, that should hopefully result in better performance of the ARC policy. | |||
2023-04-05 | Merge branch 'lukeshu/misc' | Luke Shumaker | |
2023-04-04 | btrfsutil: RebuiltForrest: Include more info when logging failures | Luke Shumaker | |
2023-04-04 | scripts/main.sh: Add more comments | Luke Shumaker | |
2023-04-04 | btrfsutil: 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-04 | btrfsutil: RebuiltTree.items: Simplify a touch | Luke Shumaker | |
2023-04-04 | btrfsutil: Move the shared cache definitions from rebuilt_forrest.go to ↵ | Luke Shumaker | |
rebuilt_tree.go | |||
2023-04-04 | btrfsutil: RebuiltTree: Have .items() take a bool instead of a func | Luke Shumaker | |
2023-04-04 | btrfsutil: GraphNode: Add a CheckExpectations method | Luke Shumaker | |
2023-04-04 | btrfsutil: RebuiltTree: Take better advantage of cache pinning | Luke Shumaker | |
2023-04-04 | cmd/btrfs-rec: Move --node-list to be a global flag | Luke Shumaker | |
2023-04-04 | cmd/btrfs-rec: ls-trees: Use runWithReadableFS | Luke Shumaker | |
2023-04-04 | cmd/btrfs-rec: Have RebuiltForrest be opt-in on the CLI | Luke Shumaker | |
2023-04-04 | maps: Add HasKey and HaveAnyKeysInCommon functions, use them | Luke Shumaker | |
2023-04-04 | btrfsutil: Add a ReadGraph function, rebuildtrees: Clean up scan to match | Luke Shumaker | |