zfcp_scsi_sysfs_host_reset(9)
β¨ zfcp_scsi_sysfs_host_reset β the Kernel API Manual page, but make it make sense β¨
okay so bestie, this is zfcp_scsi_sysfs_host_reset(9) from the Kernel API Manual, and it's literally the function that supports the scsi_host sysfs attribute host_reset. That's it. That's the whole vibe. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
int zfcp_scsi_sysfs_host_reset (struct Scsi_Host *shost , int reset_type );
like, she takes two things and gives you back an int. iconic behavior honestly π
π ARGUMENTS π
shostβ Pointer to theScsi_Hostyou want to perform the action on. That's your main character right there, she's the one getting reset β¨reset_typeβ so here's the tea: we supportSCSI_ADAPTER_RESETbut notSCSI_FIRMWARE_RESET. Read that again. We do NOT do the firmware one. Not today, not ever π
π¦ RETURN π¦
Returns 0 on SCSI_ADAPTER_RESET, and -EOPNOTSUPP otherwise. So basically: adapter reset = slay, anything else = sorry bestie, not supported π
π DESCRIPTION π
This one is similar to zfcp_sysfs_adapter_failed_store. That's the whole note, ngl, it's giving "little sister of a bigger function" energy ππ
π SEE ALSO π
- Kernel file:
./drivers/s390/scsi/zfcp_scsi.c zfcp_scsi_task_mgmt_function(9)zfcp_scsi_adapter_register(9)zfcp_scsi_adapter_unregister(9)zfcp_scsi_terminate_rport_io(9)zfcp_scsi_set_prot(9)zfcp_scsi_dif_sense_error(9)
the whole friend group, fr fr π
lowkey reminder:SCSI_FIRMWARE_RESETis not supported here, so don't come for her asking for it.-EOPNOTSUPPwill be waiting π
and that's the page, bestie! big kiss from ./drivers/s390/scsi, dated October 2026, courtesy of the zfcp_scsi_sysfs_host_reset(9) era of the Kernel API Manual. go forth and reset 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