lsm_job_s...s_pool_get(3)
π lsm_job_status_pool_get(3) π
okay so bestie, welcome to the lsm_job_status_pool_get(3) page from the Libstoragemgmt C API Manual β literally the glow-up guide for checking on a job when there's an lsm_pool coming back at the end of it. sit down, hydrate, let's get into it π«Ά
β¨ NAME β¨
lsm_job_status_pool_get β Check on the status of a job with lsm_pool returned. no cap, that's the whole vibe. π
πΈ SYNOPSIS πΈ
int lsm_job_status_pool_get (lsm_connect *conn, const char *job_id,
lsm_job_status *status, uint8_t *percent_complete, lsm_pool **pool,
lsm_flag flags);
π ARGUMENTS π
connβ a Valid connection pointer. gotta be the real thing, not a fake one, bestie πjob_idβ String. the Job to check status on. like, which one are we stalking today.statusβ Output pointer oflsm_job_status. the possible values are:LSM_JOB_COMPLETEβ Job complete with no error. ate. π₯LSM_JOB_ERRORβ Job complete with error. it's giving tragedy πLSM_JOB_INPROGRESSβ Job is still in progress. main character is still cooking, be patient β³
percent_completeβ Output pointer ofuint8_t. Percent job complete. the domain is0..100, so like, don't go outside that, okay? πpoolβ Output pointer oflsm_poolfor completed operation. the Returned value must be freed with a call tolsm_pool_record_free. yes literally, free your memory, we don't leave mess behind in this house π§flagsβ Reserved for future use, must be zero. not one, not a lil bit, zero. periodt. π
π VERSION π
1.0
π¦ DESCRIPTION π¦
Check on the status of a job with lsm_pool returned.
that's it, that's the whole thing. iconic brevity honestly β¨
π RETURN π
Error code as enumerated by lsm_error_number. here's the whole menu:
LSM_ERR_OKβ On success. we love a happy ending πLSM_ERR_INVALID_ARGUMENTβ When any argument isNULLor not a validlsm_connectpointer or invalid flags. so like, if you passed nonsense, that's on you bestie πLSM_ERR_NOT_FOUND_JOBβ When job not found. she's not here, girl. go check thejob_idπ
heads up babes: thatpoolpointer needs itslsm_pool_record_freemoment or it will haunt your process forever. no cap. π
and that's the page!! written by the Libstoragemgmt C API Manual girlies, dated February 2026 β go forth and check those job statuses, bestie, you're literally gonna slay π«Άπβ¨
π¦ where this page comes from
- fedora 43: libstoragemgmt-devel 1.10.3-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libstoragemgmt-devel 1.10.3-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms