# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
func (bs *BlockStore) UnlinkGenerations(id uuid.UUID, sgen uint64, egen uint64) error { iter := bs.db.C("superblocks").Find(bson.M{"uuid": id.String(), "gen": bson.M{"$gte": sgen, "$lt": egen}, "unlinked": false}).Iter() rs := fake_sblock{} for iter.Next(&rs) { rs.Unlinked = true _, err := bs.db.C("superblocks").Upsert(bson.M{"uuid": id.String(), "gen": rs.Gen}, rs) if err != nil { lg.Panic(err) } } return nil }.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
Note to self, if you bump VSIZE such that the max blob goes past 2^16, make sure to adaptproviders.
No description provided by the author
Note to self, if you bump VSIZE such that the max blob goes past 2^16, make sure to adaptproviders.
No description provided by the author
No description provided by the author
Note to self, if you bump VSIZE such that the max blob goes past 2^16, make sure to adaptproviders.
No description provided by the author
1<<6 == 64.
Note to self, if you bump VSIZE such that the max blob goes past 2^16, make sure to adaptproviders.
Like roughly 1MB.
If the superblock cache exceeds the max above, randomly delete this many elements from it.
address + walltime.
These functions allow us to read/write the packed numbers in the datablocksThese are huffman encoded in big endian 0xxx xxxx 7 0x00 10xx xxxx +1 14 0x80 1100 xxxx +2 20 0xC0 1101 xxxx +3 28 0xD0 1110 xxxx +4 36 0xE0 1111 00xx +5 42 0xF0 1111 01xx +6 50 0xF4 1111 10xx +7 58 0xF8 1111 1100 +8 64 0xFC 1111 1101 +0 ABSZERO (special symbol) 0xFD 1111 1110 +0 FULLZERO (special symbol) 0xFE.
Worst case with huffman.
No description provided by the author
Note to self, if you bump VSIZE such that the max blob goes past 2^16, make sure to adaptproviders.
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
A generation stores all the information acquired during a write pass.
No description provided by the author
No description provided by the author
The leaf datablock type.
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author