lsm_volum...block_size(3)

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

πŸ’– lsm_volume_replicate_range_block_size(3) πŸ’–

okay bestie, so we're in the Libstoragemgmt C API Manual and this one is literally called lsm_volume_replicate_range_block_size β€” yes the man page title is squished down to lsm_volum...block_size(3) because the terminal was not about to let us have nice things. anyway. sit down, hydrate, let's go 🫢


✨ NAME ✨

lsm_volume_replicate_range_block_size β€” Block size for replicate range.


🌸 SYNOPSIS 🌸

int lsm_volume_replicate_range_block_size (lsm_connect *conn, lsm_system
*system, uint32_t *bs, lsm_flag flags);

πŸŽ€ ARGUMENTS πŸŽ€

  • conn β€” a valid connection. no connection, no vibes. πŸ’…
  • system β€” the pointer of lsm_system. yes it wants a pointer bestie, not the whole thing.
  • bs β€” output pointer of uint32_t. this is where the block size in bytes gets written. it's giving "you get the answer back through here" energy.
  • flags β€” reserved for future use, must be LSM_CLIENT_FLAG_RSVD. don't get creative with it, she said what she said.

🌈 VERSION 🌈

1.0 β€” vintage, but make it iconic.


πŸ’œ DESCRIPTION πŸ’œ

so basically: this is the block size for the lsm_volume_replicate_range. that's it, that's the whole thing. lowkey elegant ngl 🌸


⭐ CAPABILITY ⭐

LSM_CAP_VOLUME_COPY_RANGE_BLOCK_SIZE

like, if your plugin doesn't have this capability, this call is not gonna slay for you. check it first, iykyk. πŸ‘‘


πŸ”₯ RETURN πŸ”₯

error code as enumerated by lsm_error_number. here's the whole menu, no skips:

  • LSM_ERR_OK β€” on success. we love to see it. ✨
  • LSM_ERR_INVALID_ARGUMENT β€” when any argument is NULL or not a valid lsm_connect pointer or invalid flags or invalid system pointer. aka somebody fumbled the arguments 😭
  • LSM_ERR_NOT_FOUND_SYSTEM β€” when system not found. she's not here bestie, look elsewhere πŸ¦‹
  • LSM_ERR_NO_SUPPORT β€” not supported. πŸ’€

fr fr, if you're seeing LSM_ERR_INVALID_ARGUMENT, double-check that flags is exactly LSM_CLIENT_FLAG_RSVD and that nothing you passed in is NULL. the details matter, periodt.

and that's the page!! this little gem is from the Libstoragemgmt C API Manual, dated February 2026 β€” shoutout to lsm_volume_replicate_range_block_size(3) for being the moment. stay hydrated, check your pointers, mwah πŸ’–πŸŽ€πŸ§š

πŸ“¦ where this page comes from