1lsm_volume_child_dependencyL(i3b)storagemgmt C API Malnsuma_lvolume_child_dependency(3)
2
3
4

NAME

6       lsm_volume_child_dependency  - Check whether volume has child dependen‐
7       cies.
8

SYNOPSIS

10       int lsm_volume_child_dependency (lsm_connect *conn, lsm_volume *volume,
11       uint8_t *yes, lsm_flag flags);
12

ARGUMENTS

14       conn        Valid connection.
15
16       volume      Pointer of lsm_volume.
17
18       yes         uint8_t. 1 == Yes, 0 == No
19
20       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
21

VERSION

23       1.0
24

DESCRIPTION

26       Returns  1 if the specified volume has child dependencies, else returns
27       0.  Child dependencies means specified volume is acting as source  vol‐
28       ume of a replication.
29

CAPABILITY

31       LSM_CAP_VOLUME_CHILD_DEPENDENCY
32

RETURN

34       Error code as enumerated by 'lsm_error_number'.
35           * LSM_ERR_OK
36               On success.
37           * LSM_ERR_INVALID_ARGUMENT
38               When any argument is NULL or not a valid lsm_connect pointer
39               or invalid flags or invalid volume.
40           * LSM_ERR_NOT_FOUND_VOLUME
41               When volume not found.
42           * LSM_ERR_NO_SUPPORT
43               Not supported.
44
45
46
47November 2022             lsm_volume_child_dependlesnmc_yvolume_child_dependency(3)
Impressum