lsm_pool_...t_type_get(3)

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

✨ lsm_pool_element_type_get β€” like, what can this pool even MAKE tho πŸ’…

okay bestie, welcome to the Libstoragemgmt C API Manual 🌸 the function we're stanning today is lsm_pool_element_type_get, and she's literally the "so what are you gonna be when you grow up" question, but for a storage pool. no cap. 🫢


🌈 SYNOPSIS

uint64_t lsm_pool_element_type_get (lsm_pool *p);

that's it. one argument. one return. she's lowkey simple like that. ✨


πŸŽ€ ARGUMENTS

  • p β€” the pool you want the element type for. give her the pool, she tells you her dreams. πŸ’–

πŸ¦‹ VERSION

1.0 β€” the O.G., the blueprint, the main character origin story. periodt.


πŸ’œ DESCRIPTION

so basically: you hand her a pool, and she tells you what kind of element that pool could be used to create. that's the whole vibe. it's giving "career counselor but for storage pools" and honestly? obsessed. πŸ”₯


πŸ‘‘ RETURN

she returns a uint64_t β€” and heads up bestie, this is a bit sensitive field (like, bitwise flags energy, iykyk), so the possible values are:

  • 0 β€” if it's unknown or unsupported. we don't know her, she's a mystery. πŸ™ˆ
  • LSM_POOL_ELEMENT_TYPE_VOLUME β€” this pool can create a volume. πŸ’…
  • LSM_POOL_ELEMENT_TYPE_FS β€” this pool can create a file system. πŸ“
  • LSM_POOL_ELEMENT_TYPE_POOL β€” this pool can create a sub-pool. pools within pools, it's giving inception. πŸŒ€
  • LSM_POOL_ELEMENT_TYPE_DELTA β€” this pool could hold delta data for snapshots. snap snap. πŸ“Έ
  • LSM_POOL_ELEMENT_TYPE_VOLUME_FULL β€” this pool could create a fully allocated volume. no shortcuts, all in. πŸ”₯
  • LSM_POOL_ELEMENT_TYPE_VOLUME_THIN β€” this pool could create a thin provisioned volume. skinny legend behavior. 🧚
  • LSM_POOL_ELEMENT_TYPE_SYS_RESERVED β€” this pool is reserved for system internal use. hands off, she's working. 🚫
ngl, since it's a bit sensitive field, don't just == it and call it a day β€” those flags can stack. okay that's my one bit of nagging, love u. πŸ’–

so yeah. that's the whole page. go get that element type, bestie. ✨

β€” with love, from the Libstoragemgmt C API Manual, version 1.0, dated February 2026, filed under lsm_pool_...t_type_get(3) πŸŽ€πŸ’œ

πŸ“¦ where this page comes from