ENUM CHECK_STATES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 enum check_states(9) β€” the Kernel API Manual, but make it cute 🌸

okay so bestie, we're in the Kernel API Manual today and the star of the show is literally enum check_states(9). buckle up πŸŽ€


✨ NAME ✨

enum check_states</p> β€” handles syncing / repairing a stripe πŸ’…

and here's the little blurb squad that comes with it, exactly as written:

  • @check_state_idle β€” check operations are quiesced
  • @check_state_run β€” check operation is running
  • @check_state_result β€” set outside lock when check result is valid
  • @check_state_compute_run β€” check failed and we are repairing
  • @check_state_compute_result β€” set outside lock when compute result is valid
heads up bestie πŸ™ˆ the blurbs up there spell it check_state_result but the enum itself spells it check_state_check_result β€” i'm not fixing anything, i'm just reading what's on the page, mwah πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole enum, copied character for character because we do not mess with code in this house πŸ‘‘

enum check_states {
    check_state_idle ,
    check_state_run ,
    check_state_run_q ,
    check_state_run_pq ,
    check_state_check_result ,
    check_state_compute_run ,
    check_state_compute_result

};

yes there are those little spaces before the commas. yes i left them. no i will not be taking questions ✨


πŸ’… CONSTANTS πŸ’…

seven icons, and the manpage has literally nothing to say about them. not me reading -- undescribed -- seven times in a row 😭 so here's the full roster, zero notes attached:

  • check_state_idle β€” -- undescribed -- 🫢
  • check_state_run β€” -- undescribed -- 🫢
  • check_state_run_q β€” -- undescribed -- 🫢
  • check_state_run_pq β€” -- undescribed -- 🫢
  • check_state_check_result β€” -- undescribed -- 🫢
  • check_state_compute_run β€” -- undescribed -- 🫢
  • check_state_compute_result β€” -- undescribed -- 🫢

that's it. that's the whole constants section. the void stared back πŸ’€


🌈 SEE ALSO 🌈

  • Kernel file ./drivers/md/raid5.h β€” go peek in there if u want the real tea πŸ“
  • enum reconstruct_states(9) β€” the sibling enum, iconic in its own right πŸ‘‘

and that's the whole page, bestie β€” short, sweet, and fully described by exactly nobody 🧚

source: ./drivers/md Β· dated October 2026 ⭐ mwah, love u, read ur headers πŸ’œ

πŸ“¦ where this page comes from