1lsm_volume_child_dependencyL(i3b)storagemgmt C API Malnsuma_lvolume_child_dependency(3)
2
3
4
6 lsm_volume_child_dependency - Check whether volume has child dependen‐
7 cies.
8
10 int lsm_volume_child_dependency (lsm_connect *conn, lsm_volume *volume,
11 uint8_t *yes, lsm_flag flags);
12
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
23 1.0
24
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
31 LSM_CAP_VOLUME_CHILD_DEPENDENCY
32
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
47April 2023 lsm_volume_child_dependlesnmc_yvolume_child_dependency(3)