Motr
M0
|
#include "lib/trace.h"
#include "motr/client.h"
#include "motr/layout.h"
#include "motr/st/st.h"
#include "motr/st/st_misc.h"
#include "motr/st/st_assert.h"
#include "lib/memory.h"
#include "lib/vec.h"
#include "lib/types.h"
#include "lib/errno.h"
#include <stdlib.h>
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | composite_extent |
struct | io_seg |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
Enumerations | |
enum | { CHAR_NUM = 6 } |
Functions | |
static int | create_obj (struct m0_uint128 id) |
static int | write_obj (struct m0_uint128 id) |
static void | layout_op_get_obj (void) |
static int | layout_create_capture_obj (struct m0_client_layout *layout, struct m0_uint128 *ret_id) |
static void | layout_capture (void) |
static void | layout_capture_io (void) |
static int | layout_composite_create_obj (struct m0_client_layout *layout, struct m0_uint128 *ret_id) |
static int | layout_composite_add_layers (struct m0_client_layout *layout, int nr_layers, struct m0_uint128 *layer_ids) |
static void | layout_composite_create (void) |
static void | layout_composite_create_then_get (void) |
static int | write_io_segs (struct m0_uint128 id, int nr_io_segs, struct io_seg *io_segs) |
static int | fill_ext_kv_pairs (struct composite_extent *exts, int nr_exts, struct m0_bufvec *keys, struct m0_bufvec *vals) |
static int | do_add_extents (struct m0_uint128 id, struct m0_bufvec *keys, struct m0_bufvec *vals, int *rcs) |
static int | add_extents (struct m0_uint128 id, int nr_exts, struct composite_extent *exts) |
static void | layout_composite_io_one_layer (void) |
static void | layout_composite_io_multi_layers (void) |
static void | layout_composite_io_overlapping_layers (void) |
static void | layout_composite_io_on_capture_layer (void) |
static void | layout_composite_extent_idx (void) |
static int | st_layout_suite_init (void) |
static int | st_layout_suite_fini (void) |
Variables | |
static char | pattern [CHAR_NUM] = {'C', 'L', 'O', 'V', 'I', 'S'} |
static struct m0_uint128 | test_id |
struct m0_container | st_layout_container |
static uint64_t | layout_id |
static uint32_t | unit_size = DEFAULT_PARGRP_UNIT_SIZE |
struct st_suite | st_suite_layout |
|
static |
|
static |
|
static |
|
static |
|
static |
Test m0_client_layout_capture() and create an object with capture layout.
Definition at line 256 of file layout.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
struct m0_container st_layout_container |
struct st_suite st_suite_layout |
|
static |
|
static |