lsm_job_s...s_pool_get(3)

πŸ“¦
version 1.10.3 Β· 3 versions
, in fedora 43, fedora 44

πŸ’– 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 of lsm_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 of uint8_t. Percent job complete. the domain is 0..100, so like, don't go outside that, okay? πŸ™ˆ
  • pool β€” Output pointer of lsm_pool for completed operation. the Returned value must be freed with a call to lsm_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 is NULL or not a valid lsm_connect pointer 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 the job_id πŸ‘€

heads up babes: that pool pointer needs its lsm_pool_record_free moment 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