summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-02-19textui: Fix Metric() and IEC(), add tests, accept math/big valuesLuke T. Shumaker
2023-12-31file_blockbuf.go: Have Flush() return an errorLuke T. Shumaker
2023-12-31file_blockbuf.go: Add doc commentsLuke T. Shumaker
2023-12-31file_blockbuf.go: Ensure the cache is flushed before closingLuke T. Shumaker
2023-12-31arcache.go: Fix typos in commentsLuke T. Shumaker
2023-07-25Inline btrfsutil.Open() into main.goLuke Shumaker
2023-07-25Don't try to read the chunk tree until all devices are addedLuke Shumaker
2023-07-23btrfs: Export SuperBlockSizeLuke Shumaker
2023-07-23rebuildmappings scan: Include the device size and superblockLuke 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-07-22containers: Optional: Migrate from stdlib json to lowmemjsonLuke Shumaker
2023-07-22textui.Portion: Always round percents downLuke Shumaker
2023-07-22textui: Progress: Fix some subtle timing issuesLuke Shumaker
- Always flush the value from the *first* .Set - Don't bother calling time.Now() if we have a timestamp from the ticker - If ticks are delayed for whatever reason, don't let that trip the hang-detector - Have better error messages from the hang detector
2023-05-06btrfstree: Fix an issue with .Padding pointing to a buffer it doesn't ownLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Add a .RebuiltAddRoots() method, cmd/btrfs-rec: ↵Luke Shumaker
Add a --trees flag
2023-04-17cmd/btrfs-rec, btrfsutil: Delete OldRebuiltForrestLuke Shumaker
2023-04-17btrfsutil.RebuiltForrest, rebuildtrees: Be more permissive of broken UUID_TREEsLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Fuss with error messagesLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Have LookupRoot return an errorLuke Shumaker
2023-04-17btrfsutil: RebuiltTree: Dedup ownership errorsLuke Shumaker
2023-04-17btrfsutil: RebuiltForrest: Have LookupUUID return an errorLuke Shumaker
2023-04-17btrfsutil: RebuiltTree: Properly track errors for the btrfstree.Tree APILuke Shumaker
2023-04-17btrfsutil: RebuiltTree: Don't have laxAncestors hide UUID errorsLuke Shumaker
2023-04-17btrfsutil: RebuiltTree: Fix potential infinite loop in RebuiltCOWDistanceLuke 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-16btrfsutil: RebuiltTree: TreeWalk: Touch upLuke 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-16btrfsutil: RebuiltTree: Drop pointless `if`/indentationLuke Shumaker
2023-04-16btrfsutil: RebuiltForrest: Be lazier about calling .RebuiltAddRoot()Luke Shumaker
2023-04-15btrfsutil: RebuiltTree: Clean up lockingLuke 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: Naively implement the new btrfs.ReadableFS APILuke Shumaker
2023-04-13btrfsutil: RebuiltForrest.RebuiltTree(): Return errorsLuke Shumaker
2023-04-13btrfsutil: RebuiltForrest: Have the ancestor id-to-ptr map persistLuke Shumaker
2023-04-13btrfsutil: RebuiltForrest: readItem: Return a full btrfstree.ItemLuke Shumaker
2023-04-13btrfsutil: RebuiltTree: Track member interior nodes tooLuke Shumaker
2023-04-13btrfsutil: Graph: Track item sizesLuke Shumaker
2023-04-13rebuildtrees: Fuss with the settledItemQueue order to reduce cache-missesLuke Shumaker
2023-04-13btrfsutil: RebuiltTree: Be strict about which KPs to consider validLuke Shumaker
2023-04-13btrfsutil: RebuiltTree: Track the max-key for each path to a nodeLuke Shumaker
2023-04-13btrfsutil: RebuiltTree: Wrap leafToRoots in a structLuke Shumaker
The implication being that I plan on adding more members to the struct.
2023-04-13btrfsutil: RebuiltTree: Refactor .uncachedLeafToRoots()Luke Shumaker
2023-04-13btrfsutil: RebuiltForrest: Allow skipping the .AddedItem loopLuke Shumaker
2023-04-13btrfsutil: Split rebuilt_callbacks.go off from rebuilt_forrest.goLuke Shumaker
2023-04-13btrfsutil: RebuiltForrest: Simplify by taking a btrfs.ReadableFSLuke Shumaker
2023-04-13maps: Get HaveAnyKeysInCommon to be inlinableLuke Shumaker