zfcp_qdio_sbal_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ zfcp_qdio_sbal_get(9) πŸŽ€

🌸 NAME 🌸

okay so welcome to the Kernel API Manual, bestie β€” this is the page for zfcp_qdio_sbal_get, aka β€œget free sbal in request queue, wait if necessary.” She’s giving patient-queue energy: if there’s no free sbal, she waits. πŸ’…

✨ SYNOPSIS ✨

int zfcp_qdio_sbal_get (struct zfcp_qdio *qdio );

πŸŽ€ ARGUMENTS πŸŽ€

  • qdio β€” pointer to struct zfcp_qdio. That’s the whole arg, bestie β€” just hand her the pointer. 🫢

πŸ’– DESCRIPTION πŸ’–

okay so the rules are lowkey important: req_q_lock must be held by the caller of this function. And this function may only be called from process context. It will sleep when it’s waiting for a free sbal β€” so do not bring her into atomic context, bestie, she needs her nap. 😭

⚠️ no cap: hold req_q_lock first, and only call this from process context. The waiting-for-a-free-sbal part sleeps.

πŸ”₯ RETURN πŸ”₯

  • 0 β€” success, we love to see it. ✨
  • -EIO β€” there is no free sbal after waiting. πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/s390/scsi/zfcp_qdio.c


catch you later, bestie β€” this page is from ./drivers/s390/scsi, October 2026, and it’s serving Kernel API Manual realness πŸ’–βœ¨

πŸ“¦ where this page comes from