lsm_volum...block_size(3)
π 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 oflsm_system. yes it wants a pointer bestie, not the whole thing.bsβ output pointer ofuint32_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 beLSM_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 isNULLor not a validlsm_connectpointer 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 seeingLSM_ERR_INVALID_ARGUMENT, double-check thatflagsis exactlyLSM_CLIENT_FLAG_RSVDand that nothing you passed in isNULL. 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
- 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