Scroll to navigation

lsm_volume_replicate_range_block_size(3) Libstoragemgmt C API Manual lsm_volume_replicate_range_block_size(3)

NAME

lsm_volume_replicate_range_block_size - Block size for replicate range.

SYNOPSIS

int lsm_volume_replicate_range_block_size (lsm_connect *conn, lsm_system *system, uint32_t *bs, lsm_flag flags);

ARGUMENTS

Valid connection.
The pointer of lsm_system.
Output pointer of uint32_t. Block size in bytes.
Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

VERSION

1.0

DESCRIPTION

Block size for the lsm_volume_replicate_range.

CAPABILITY

LSM_CAP_VOLUME_COPY_RANGE_BLOCK_SIZE

RETURN

Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags or invalid system pointer.
* LSM_ERR_NOT_FOUND_SYSTEM
When system not found.
* LSM_ERR_NO_SUPPORT
Not supported.

lsm_volume_replicate_range_block_size April 2023