Age | Commit message (Collapse) | Author |
|
|
|
- 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().
|
|
|
|
|
|
|
|
This now considers the interior nodes *between* the root and the leaf,
instead of just considering the root and the leaf.
|
|
|
|
This is a modification to how "pinning" is implemented, that should
hopefully result in better performance of the ARC policy.
|
|
|
|
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)
|
|
|
|
rebuilt_tree.go
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
...and touch up comments.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
through btrfstree.NodeSource.ReadNode()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Validating a node's owner properly requires the generation.
But don't worry about actually doing it properly yet, just update the API
first.
|