Go to the source code of this file.
◆ __MOTR_LAYOUT_H__
#define __MOTR_LAYOUT_H__ |
◆ M0_OBJ_LAYOUT_ID
#define M0_OBJ_LAYOUT_ID |
( |
|
lid | ) |
(lid & 0x0000ffffffffffff) |
Client makes use of layout id attribute and stores the layout type in the highest 16 bits of layout id.
Definition at line 107 of file layout.h.
◆ M0_OBJ_LAYOUT_MAKE_LID
#define M0_OBJ_LAYOUT_MAKE_LID |
( |
|
lid, |
|
|
|
type |
|
) |
| ((uint64_t)lid | ((uint64_t)type << 48UL)) |
◆ M0_OBJ_LAYOUT_TYPE
#define M0_OBJ_LAYOUT_TYPE |
( |
|
lid | ) |
((lid & 0xffff000000000000) >> 48UL) |
◆ m0__composite_container_init()
M0_INTERNAL int m0__composite_container_init |
( |
struct m0_client * |
cinst | ) |
|
◆ m0__dix_layout_get_sync()
M0_INTERNAL int m0__dix_layout_get_sync |
( |
struct m0_obj * |
obj, |
|
|
struct m0_dix_layout * |
dlayout |
|
) |
| |
◆ m0__obj_layout_send()
◆ m0_client__layout_get()
-------------------------------------------------------------------------—*
Client LAYOUT APIS *
Definition at line 276 of file layout.c.
◆ m0_client__layout_put()
◆ m0_layout_op_launch()
M0_INTERNAL int m0_layout_op_launch |
( |
struct m0_op_layout * |
ol | ) |
|
◆ composite_extent_rd_idx_fid
struct m0_fid composite_extent_rd_idx_fid |
---------------------------------------------------------------------——*
Client Composite Layout Extent Index API and routines *
2 global extent indices are created for composite objects' extents: one is for read extents and another is for write extents. Client uses two reserved FIDs for these 2 global extent indices. The format for key/value pairs is defined as: key = {layer_id, extent offset} and value = extent length To ensure that the key/value pairs are stored in key's lexicographical, order (so that extents for a layer is stored in increasing offset order), client transforms the keys input by the application in big-endian format.
To create these internal extent indices, client also has to maintain an container for it.
Definition at line 1225 of file composite_layout.c.
◆ composite_extent_wr_idx_fid
struct m0_fid composite_extent_wr_idx_fid |
◆ layout_composite_ops
◆ m0_op_layout_composite_ops
◆ ol_bobtype