scsi_eh_restore_cmnd(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the scsi_eh_restore_cmnd(9) page in the Kernel API Manual πŸ’… this function is literally here to restore a scsi command info as part of error recovery β€” it’s giving cleanup queen, no cap ✨


πŸŽ€ SYNOPSIS πŸŽ€

void scsi_eh_restore_cmnd (struct scsi_cmnd* scmd , struct scsi_eh_save
       *ses );

🌸 ARGUMENTS 🌸

  • scmd β€” the SCSI command structure to restore 🫢 this is the one getting its info put back.
  • ses β€” saved information from a coresponding call to scsi_eh_prep_cmnd (their spelling, not mine πŸ˜­πŸ’…) β€” think of it as the little saved-state bestie from the prep step.

πŸ¦‹ DESCRIPTION πŸ¦‹

Undo any damage done by above scsi_eh_prep_cmnd. That’s the whole vibe: it’s the undo button for that prep call, and it’s lowkey iconic for it ✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/scsi/scsi_error.c πŸ’–

the whole error-recovery friend group is here, and yes they all brought their (9):


mwah πŸ’‹ this page’s source/version is ./drivers/scsi, dated October 2026 β€” periodt, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from