zfcp_scsi_sysfs_host_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 the Scsi_Host you 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 support SCSI_ADAPTER_RESET but not SCSI_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 🌈

the whole friend group, fr fr πŸ‘‘


lowkey reminder: SCSI_FIRMWARE_RESET is not supported here, so don't come for her asking for it. -EOPNOTSUPP will 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