sas_remove_host(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sas_remove_host(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the sas_remove_host(9) page from the Kernel API Manual. This one is short but iconic: it tears stuff down, and it does not want you double-tearing it down. periodt. ✨

🌸 NAME 🌸

sas_remove_host β€” tear down a Scsi_Host's SAS data structures 🫢

✨ SYNOPSIS ✨

void sas_remove_host (struct Scsi_Host *shost );

πŸ’– ARGUMENTS πŸ’–

  • shost β€” the Scsi_Host that gets torn down. That's the main character here. πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so sas_remove_host removes all SAS PHYs and remote PHYs for a given Scsi_Host, and it removes the Scsi_Host as well. It's giving full teardown, no crumbs, no leftovers. πŸ’…πŸ”₯

🚨 NOTE 🚨

Do not call scsi_remove_host on the Scsi_Host any more β€” it is already removed. Like, it's literally already gone, bestie. Please don't double-remove. πŸ’€πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/scsi_transport_sas.c β€” and here's the whole squad, no cap:


mwah πŸ’‹ β€” source/version: ./drivers/scsi; date: October 2026; page: sas_remove_host(9). catch you in the group chat, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from