iscsi_eh_recover_target(9)
π¦ iscsi_eh_recover_target(9) β the Kernel API Manual page you didn't know you needed
okay so bestie, welcome to the Kernel API Manual, and today's main character is iscsi_eh_recover_target(9). she's an error-handler girlie and honestly she's kind of everything π
β¨ NAME β¨
iscsi_eh_recover_target β literally resets a target and, if she has to, the whole session too π
πΈ SYNOPSIS πΈ
int iscsi_eh_recover_target (struct scsi_cmnd *sc );
π ARGUMENTS π
scβ the scsi command, bestie. that's it, that's the argument π«Ά
π₯ DESCRIPTION π₯
so here's the vibe check: this function attempts to send a warm target reset. that's the first move, the opening act, the polite ask π
but if that fails? oh she escalates. no cap. she goes straight to ERL0 session recovery β like, if the gentle approach doesn't land, we're doing the whole session rebuild. iconic behaviour, honestly. periodt π
π SEE ALSO π
everything else living in the kernel file ./drivers/scsi/libiscsi.c, aka the extended friend group π§ β go read these, iykyk:
iscsi_prep_data_out_pdu(9)iscsi_check_tmf_restrictions(9)iscsi_prep_scsi_cmd_pdu(9)iscsi_free_task(9)__iscsi_put_task(9)iscsi_complete_task(9)iscsi_complete_scsi_task(9)iscsi_alloc_mgmt_task(9)iscsi_send_mgmt_task(9)iscsi_scsi_cmd_rsp(9)iscsi_data_in_rsp(9)iscsi_nop_out_rsp(9)iscsi_itt_to_task(9)__iscsi_complete_pdu(9)iscsi_itt_to_ctask(9)iscsi_requeue_task(9)iscsi_data_xmit(9)iscsi_suspend_queue(9)iscsi_suspend_tx(9)iscsi_suspend_rx(9)iscsi_conn_unbind(9)iscsi_eh_session_reset(9)iscsi_eh_target_reset(9)iscsi_host_add(9)iscsi_host_alloc(9)iscsi_host_remove(9)iscsi_session_setup(9)iscsi_session_free(9)iscsi_session_teardown(9)iscsi_conn_setup(9)iscsi_conn_teardown(9)
okay that's the whole page, you ate it, i'm obsessed with you π this came from ./drivers/scsi and it's dated October 2026 β so like, future girlie energy, and then it just loops right back to the title iscsi_eh_recover_target(9) because of course it does πβ¨
π¦ 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