efct_pci_io_error_detected(9)
π efct_pci_io_error_detected(9) β Kernel API Manual
okay so bestie, welcome to the Kernel API Manual page for efct_pci_io_error_detected. it's giving "the friend who handles the crisis so you don't have to" energy, and honestly? iconic. π«Ά
β¨ NAME β¨
efct_pci_io_error_detected β the method for handling PCI I/O error. no cap, that's literally its whole job.
π¦ SYNOPSIS π¦
pci_ers_result_t efct_pci_io_error_detected (struct pci_dev *pdev ,
pci_channel_state_t state );
look at her. two args, one return type, zero drama (well, some drama β it's an error handler after all π).
π ARGUMENTS π
pdevβ pointer to PCI device. yeah, the whole device, just a pointer to it, no big deal πstateβ the current PCI connection state. like a vibe check but for your bus connection.
πΈ DESCRIPTION πΈ
okay so here's the tea. this routine is registered to the PCI subsystem for error handling β meaning it's on the official call list, it has main character energy in the error-recovery storyline π
this function gets called by the PCI subsystem after a PCI bus error affecting this device has been detected. so when things go sideways, the kernel doesn't panic-text the group chat β it calls her.
when this routine is invoked, it dispatches the device error detected handling routine, which will perform the proper error detected operation. that's the whole arc: something breaks, she hands it off to the right handler, the right handler does the right thing. teamwork, slay, periodt β¨
and then there's the return codes, which are very much the "so how are we doing?" part of the conversation:
PCI_ERS_RESULT_NEED_RESETβ need to reset before recovery. it's not broken forever, it just needs a little nap and a restart πPCI_ERS_RESULT_DISCONNECTβ device could not be recovered. yeah. that one hurts. the device is not coming to the group chat anymore π
no cap, those two results are doing very different emotional work. one is "we can fix this", the other is "we literally cannot".
π₯ SEE ALSO π₯
- Kernel file
./drivers/scsi/elx/efct/efct_driver.cβ go read the source bestie, it's all in there π
and that's the page!! π§
cute little sign-off: this one lives in ./drivers/scsi/elx/efct, and it's dated October 2026 β future vibes only βπ
bye bestie, go handle those I/O errors responsibly ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms