1lsm_fs_child_dependency_delLeitbes(t3o)ragemgmt C APIlsMma_nfusa_lchild_dependency_delete(3)
2
3
4
6 lsm_fs_child_dependency_delete - Delete all child dependencies of spec‐
7 ified file system.
8
10 int lsm_fs_child_dependency_delete (lsm_connect *conn, lsm_fs *fs,
11 lsm_string_list *files, char **job, lsm_flag flags);
12
14 conn Valid connection.
15
16 fs Point of lsm_fs to remove dependencies for.
17
18 files Pointer of lsm_string_list. Only work on specific files if
19 defined. If NULL, just work on all files in this file sys‐
20 tem.
21
22 job Output pointer of string. If storage system support asyn‐
23 chronous action on this, a job will be created and could be
24 tracked via lsm_job_status_get. NULL if storage system
25 does not support asynchronous action on this.
26
27 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
28
30 1.0
31
33 Deletes child dependencies by duplicating the required storage to re‐
34 move.
35
37 This could take a long time to complete based on dependencies.
38
40 LSM_CAP_FS_CHILD_DEPENDENCY_RM LSM_CAP_FS_CHILD_DEPENDENCY_RM_SPE‐
41 CIFIC_FILES
42
44 Error code as enumerated by 'lsm_error_number'.
45 * LSM_ERR_OK
46 On success.
47 * LSM_ERR_JOB_STARTED
48 A job is started. Please check the 'job' output pointer.
49 * LSM_ERR_NOT_FOUND_FS
50 When file system not found.
51 * LSM_ERR_NO_STATE_CHANGE
52 When file system has no child dependency.
53
54
55
56November 2021 lsm_fs_child_dependenclys_md_eflse_tcehild_dependency_delete(3)