ipr_reset_wa...o_start_bist(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ipr_reset_wait_to_start_bist(9) ✨

okay bestie, welcome to the Kernel API Manual, section 9 β€” yes we're in the kernel docs, put your hair up, we're getting technical πŸ’…


🌸 NAME 🌸

ipr_reset_wait_to_start_bist β€” lowkey just sitting there waiting for permission to reset the IOA 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int ipr_reset_wait_to_start_bist (struct ipr_cmnd *ipr_cmd );

πŸŽ€ ARGUMENTS πŸŽ€

  • ipr_cmd β€” the ipr command struct. that's it, that's the whole vibe ✨

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” this function waits for the adapter to give permission to run BIST, and then it runs BIST. periodt.

but here's where it gets a little dramatic 😭 if the adapter does not give permission after a reasonable time, we will reset the adapter anyway. no cap. and the impact of resetting the adapter without warning the adapter is β€” and I need you to sit down for this β€” the risk of losing the persistent error log on the adapter πŸ’€

and it gets worse bestie πŸ™ˆ if the adapter is reset while it is writing to the flash on the adapter, the flash segment will have bad ECC and be zeroed. not iconic. not slay. we do not want that.

fr fr, those two consequences are the whole reason this wait exists β€” quote them back to anyone who asks why we're sitting here being patient 🧚

Return value: IPR_RC_JOB_CONTINUE / IPR_RC_JOB_RETURN β€” yeah, one of those two, bestie ⭐


πŸ”₯ SEE ALSO πŸ”₯

the main character of this whole story lives right here in the Kernel file ./drivers/scsi/ipr.c, and honestly the supporting cast is huge πŸ‘‘


like, that's the whole friend group, iykyk πŸ’œ anyway that's the page! huge shoutout to the source over at ./drivers/scsi and to October 2026 for the timestamp β€” mwah, bye bestie, go wait for permission responsibly πŸŒˆπŸŽ€

πŸ“¦ where this page comes from