ENUM BLOCK_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ enum block_state(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” we're looking at enum block_state(9) today and honestly it's a short one but it's lowkey important, so let's go πŸ’…


✨ NAME ✨

enum block_state β€” the blocking state, fr fr


✨ SYNOPSIS ✨

enum block_state {
    NON_BLOCKING ,
    BLOCKING

};

✨ Constants ✨

bestie there are literally two of them, and they are exactly what they sound like:

  • NON_BLOCKING β€” non blocking πŸ¦‹
  • BLOCKING β€” blocking πŸ’€

that's it. that's the whole list. iconic minimalism honestly πŸ‘‘


✨ Description ✨

okay so here's the tea β˜• β€” these states exist for ioctls that need to wait for a response from firmware. and the way that works means they probably require sleep 😴

so like, if you're the one holding one of these states, know that you might be going nite-nite for a sec waiting on the firmware to text back. plan accordingly 🫢


✨ SEE ALSO ✨

okay this section is giving main character energy because there are SO many friends here 🌈 first up, the kernel file:

  • Kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.c

and now the whole group chat πŸ’–:

like, that's the whole friend group and every single one of them slayed πŸ”₯ go read them, iykyk πŸ’œ


ok that's the page bestie, go forth and block responsibly πŸ§šβ€β™€οΈβœ¨

and finally, the cute little sign-off πŸŽ€ β€” this page comes to you from ./drivers/scsi/mpt3sas, dated October 2026, and it's enum block_state(9) all day. periodt πŸ’…

πŸ“¦ where this page comes from