Motr  M0
m0_rm_domain Struct Reference

#include <rm.h>

Collaboration diagram for m0_rm_domain:
Collaboration graph

Data Fields

struct m0_rm_resource_typerd_types [M0_RM_RESOURCE_TYPE_ID_MAX]
 
struct m0_mutex rd_lock
 

Detailed Description

Domain of resource management.

All other resource manager data-structures (resource types, resources, owners, credits, &c.) belong to some domain, directly or indirectly.

Domains support multiple independent resource management services in the same address space (user process or kernel). Each request handler and each client kernel instance run a resource management service, but multiple request handlers can co-exist in the same address space.

Definition at line 279 of file rm.h.

Field Documentation

◆ rd_lock

struct m0_mutex rd_lock

Definition at line 287 of file rm.h.

◆ rd_types

An array where resource types are registered. Protected by m0_rm_domain::rd_lock.

See also
m0_rm_resource_type::rt_id

Definition at line 286 of file rm.h.


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