Plasma GitLab Archive
Projects Blog Knowledge

Module Nn_blockmap


module Nn_blockmap: sig .. end
block maps are in-memory representation of the per-datastore bitmaps whether blocks are used or free. Changes to block maps are done in a transactional way. One can finally get the accumulated updates of a transaction for writing them out to the db

exception Inactive
class type blockmap_t = object .. end
block maps are in-memory representation of the per-datastore bitmaps whether blocks are used or free.
class blockmap : id:int -> identity:string -> size:int64 -> blockmap_t
Create a blockmap for DB row id and datastore identity, with an initial size.
val blockmap_from_db_e : id:int ->
identity:string ->
size:int64 ->
Pfs_db.ro_async_connection ->
Unixqueue.event_system -> blockmap_t Uq_engines.engine
Create a blockmap object, and initialize it from the blockalloc db table
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml