Documentation ¶
Overview ¶
Package rebuildmappings is the guts of the `btrfs-rec inspect rebuild-mappings` command, which rebuilds broken chunk/dev-extent/blockgroup trees.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FoundBlockGroup ¶
type FoundBlockGroup struct { Key btrfsprim.Key BG btrfsitem.BlockGroup }
type FoundExtentCSum ¶
type FoundExtentCSum struct { Generation btrfsprim.Generation Sums btrfsitem.ExtentCSum }
func (FoundExtentCSum) Compare ¶
func (a FoundExtentCSum) Compare(b FoundExtentCSum) int
Compare implements containers.Ordered.
type ScanDevicesResult ¶
type ScanDevicesResult = map[btrfsvol.DeviceID]ScanOneDeviceResult
type ScanOneDeviceResult ¶
type ScanOneDeviceResult struct { Checksums btrfssum.SumRun[btrfsvol.PhysicalAddr] FoundNodes map[btrfsvol.LogicalAddr][]btrfsvol.PhysicalAddr FoundChunks []FoundChunk FoundBlockGroups []FoundBlockGroup FoundDevExtents []FoundDevExtent FoundExtentCSums []FoundExtentCSum }
Click to show internal directories.
Click to hide internal directories.