1lsm_job_status_volume_get(3L)ibstoragemgmt C API Manulaslm_job_status_volume_get(3)
2
3
4

NAME

6       lsm_job_status_volume_get  - Check on the status of a job with lsm_vol‐
7       ume returned.
8

SYNOPSIS

10       int lsm_job_status_volume_get (lsm_connect *conn, const  char  *job_id,
11       lsm_job_status  *status,  uint8_t  *percent_complete, lsm_volume **vol,
12       lsm_flag flags);
13

ARGUMENTS

15       conn        Valid connection pointer.
16
17       job_id      String. Job to check status on
18
19       status      Output pointer of lsm_job_status. Possible  values  are:  *
20                   LSM_JOB_COMPLETE
21                      Job complete with no error.  * LSM_JOB_ERROR
22                      Job complete with error.  * LSM_JOB_INPROGRESS
23                      Job is still in progress.
24
25       percent_complete
26                   Output  pointer  of  uint8_t.  Percent job complete. Domain
27                   0..100.
28
29       vol         Output pointer of lsm_volume for completed operation.   Re‐
30                   turned  value  needs  to  be  freed with a call to lsm_vol‐
31                   ume_record_free.
32
33       flags       Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
34

VERSION

36       1.0
37

DESCRIPTION

39       Check on the status of a job and returns the  volume  information  when
40       complete.
41

RETURN

43       Error code as enumerated by 'lsm_error_number'.
44           * LSM_ERR_OK
45               On success.
46           * LSM_ERR_INVALID_ARGUMENT
47               When any argument is NULL or not a valid lsm_connect pointer
48               or invalid flags.
49           * LSM_ERR_NOT_FOUND_JOB
50               When job not found.
51
52
53
54April 2023                 lsm_job_status_volume_geltsm_job_status_volume_get(3)
Impressum