Motr  M0
m0_cob_domain Struct Reference

#include <cob.h>

Collaboration diagram for m0_cob_domain:
Collaboration graph

Data Fields

struct m0_format_header cd_header
 
struct m0_cob_domain_id cd_id
 
struct m0_format_footer cd_footer
 
struct m0_be_btree cd_object_index
 
struct m0_be_btree cd_namespace
 
struct m0_be_btree cd_fileattr_basic
 
struct m0_be_btree cd_fileattr_omg
 
struct m0_be_btree cd_fileattr_ea
 
struct m0_be_btree cd_bytecount
 
struct m0_be_rwlock cd_lock
 

Detailed Description

cob domain

Component object metadata is stored in database tables. The database in turn is stored in a metadata container. A cob_domain is a grouping of cobs described by a namespace or object index. The objects referenced by the tables will reside in other, filedata containers.

A m0_cob_domain is an in-memory structure that identifies these tables. The list of domains will be created at metadata container ingest (when a container is first "started/read/initialized/opened".)

A m0_cob_domain cannot span multiple containers. Eventually, there should be methods for combining/splitting containers and therefore cob domains and databases.

Note: has to be allocated with m0_be_alloc()

Definition at line 262 of file cob.h.


The documentation for this struct was generated from the following file: