Documentation ¶
Overview ¶
Package hbdisk implement a hb disk driver. A designated disk is sliced into per node data chunks received the exchanged dataset.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PageSize is the directio block size PageSize = directio.BlockSize // MetaSize is the size of the header reserved on dev to store the // slot allocations. // A 4MB meta size can index 1024 nodes if pagesize is 4k. MetaSize = 4 * 1024 * 1024 // SlotSize is the data size reserved for a single node SlotSize = 1024 * 1024 // MaxSlots is maximum number of slots that can fit in MetaSize MaxSlots = MetaSize / PageSize )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.