sas_remove_host(9)
π 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β theScsi_Hostthat 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:
sas_remove_children(9)sas_get_address(9)sas_tlr_supported(9)sas_disable_tlr(9)sas_enable_tlr(9)sas_ata_ncq_prio_supported(9)sas_phy_alloc(9)sas_phy_add(9)sas_phy_free(9)sas_phy_delete(9)scsi_is_sas_phy(9)sas_port_alloc(9)sas_port_alloc_num(9)sas_port_add(9)sas_port_free(9)sas_port_delete(9)scsi_is_sas_port(9)sas_port_get_phy(9)sas_port_add_phy(9)sas_port_delete_phy(9)sas_rphy_initialize(9)sas_end_device_alloc(9)sas_expander_alloc(9)sas_rphy_add(9)sas_rphy_free(9)sas_rphy_delete(9)sas_rphy_unlink(9)sas_rphy_remove(9)scsi_is_sas_rphy(9)sas_attach_transport(9)sas_release_transport(9)
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
- 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