lsm_block_range_record_alloc - Man Page

Allocates memory for a lsm_block_range record.

Synopsis

lsm_block_range  * lsm_block_range_record_alloc (uint64_t source_start, uint64_t dest_start, uint64_t block_count);

Arguments

source_start

The start block of replication source.

dest_start

The start block of replication destination.

block_count

The count of blocks for this block range.

Version

1.0

Description

Allocates memory for lsm_block_range opaque data type to store a block range.

Return

Pointer of lsm_block_range. NULL on memory allocation failure or illegal argument. Should be freed by lsm_block_range_record_free.

Info

July 2024 Libstoragemgmt C API Manual