summaryrefslogtreecommitdiff
path: root/lib/btrfsprogs/btrfsinspect/rebuildnodes
AgeCommit message (Collapse)Author
2023-01-05rebuildnodes/btrees: Fix logging of the add-tree stackLuke Shumaker
2023-01-05rebuildnodes: Avoid i/o reading items for which handleItem is a no-opLuke Shumaker
2023-01-05rebuildnodes: Compact augment keys to save spaceLuke Shumaker
2023-01-05rebuildnodes: Add optimized storage for nil augmentsLuke Shumaker
2023-01-05rebuildnodes: Fix retrying treesLuke Shumaker
2023-01-05rebuildnodes: Log how many queued augments there areLuke Shumaker
2023-01-05rebuildnodes: Check for INODE_NODATASUM before looking for csumsLuke Shumaker
2023-01-05rebuildnodes: Tidy up errors and key managementLuke Shumaker
2023-01-05rebuildnodes: Optimize storage for single-item augmentsLuke Shumaker
2023-01-05rebuildnodes: Strategically scope variables, add runtime.GC() callsLuke Shumaker
"Ignore space change" is probably useful for viewing this diff.
2023-01-05rebuildnodes: Don't try to add the same augment twiceLuke Shumaker
This should save some memory and some log i/o.
2023-01-05rebuildnodes/btrees: Allow leaf-node indexes to be evictedLuke Shumaker
2023-01-05rebuildnodes: Parallelize I/O and CPULuke Shumaker
2023-01-05rebuildnodes/btrees: Tune cache sizesLuke Shumaker
2023-01-05rebuildnodes/btrees.RebuiltTree: Try to remove methodsLuke Shumaker
Now that .Items() is public, some of the search methods are superfluous, and in fact all .SearchAll calls would be more efficient as .Items.Subrange calls. And rename .Load to .ReadItem, so that grepping for it doesn't mix up with .Items.Load.
2023-01-05rebuildnodes/btrees: Allow item rbtrees to be evictedLuke Shumaker
2023-01-05rebuildnodes/btrees: Refactor to split the forrest from the treesLuke Shumaker
2023-01-05rebuildnodes: Support graceful shutdownLuke Shumaker
2023-01-05rebuildnodes: Optimize: Rethink queue orderingLuke Shumaker
Hopefully this is more sequential, which should help things.
2023-01-05rebuildnodes: Optimize: Avoid unnescessary disk access for existence-checkLuke Shumaker
2023-01-05rebuildnodes: Optimize: Try to avoid disk access for DIR_INDEXLuke Shumaker
2023-01-01lint: Turn on nakedretLuke Shumaker
2023-01-01lint: Turn on misspellLuke Shumaker
2023-01-01tree-wide: Annotate values that I might want to be tuningLuke Shumaker
2023-01-01lint: Turn on gofumptLuke Shumaker
All edits to .go files are made by `tools/bin/golangci-lint run --fix ./...`, not by me as a human.
2023-01-01lint: Turn on gocriticLuke Shumaker
2023-01-01lint: Turn on dupwordLuke Shumaker
2022-12-30rebuildnodes: Fuss with logging to take advantage of textuiLuke Shumaker
2022-12-27rebuildnodes: Fuss with the main loop to make the logs more orderedLuke Shumaker
2022-12-26tree-wide: Audit for fmt.Sprint usage, in favor of textuiLuke Shumaker
2022-12-26rebuildnodes: Read the superblock before building the graphLuke Shumaker
2022-12-26rebuildnodes: Integrate loop-checking in to Graph.FinalCheckLuke Shumaker
2022-12-24rebuildnodes: Track item sizes at startup, to avoid extra i/oLuke Shumaker
2022-12-24rebuildnodes: Rework the wantCsum and wantFileExt algorithmsLuke Shumaker
2022-12-23rebuildnodes/keyio: Don't export readNode()Luke Shumaker
2022-12-23rebuildnodes: Less noisy logging about csumsLuke Shumaker
2022-12-23rebuildnodes: Ignore the LOG_TREE for nowLuke Shumaker
2022-12-23rebuildnodes: Move keyio.KeyAndTree→keyAndtreeLuke Shumaker
2022-12-23rebuildnodes: Have the key index belong to the btree, and be smarterLuke Shumaker
2022-12-23rebuildnodes: Have the graph store keys; avoid I/O when indexing a treeLuke Shumaker
2022-12-23rebuildnodes: Have keyio.Handle always be a pointer, fuss with ScanDevices ↵Luke Shumaker
return type
2022-12-23rebuildnodes/btrees: Track the tree's root item offsetLuke Shumaker
2022-12-23rebuildnodes: Handle the same node being added twiceLuke Shumaker
2022-12-23rebuildnodes/btrees: Try to handle duplicate keys by generationLuke Shumaker
2022-12-23rebuildnodes: Improve loggingLuke Shumaker
2022-12-22rebuildnodes: Migrate to the new rebuilt-btrees systemLuke Shumaker
2022-12-21rebuildnodes: Refactor existing key-io code in to a sub-packageLuke Shumaker
2022-12-21rebuildnodes/btrees: Index all (orphaned) leafsLuke Shumaker
2022-12-21rebuildnodes/btrees: Cache nodesLuke Shumaker
2022-12-21rebuildnodes/btrees: Implement a new rebuilt-trees systemLuke Shumaker
This will replace its use of btrfsutil.NewBrokenTrees.