srp_remove_host(9)
β¨ srp_remove_host β¨
okay so bestie, welcome to the Kernel API Manual π
this one's all about srp_remove_host(9)
πΈ NAME πΈ
srp_remove_host β tear down a Scsi_Host's SRP data structures π«Ά
π SYNOPSIS π
void srp_remove_host (struct Scsi_Host *shost );
π¦ ARGUMENTS π¦
shostβ the Scsi Host that's getting torn down, like literally bye-bye π
π DESCRIPTION π
So what it does is: it removes all the SRP remote ports for a given Scsi_Host. All of them. Every single one. No cap β¨
And bestie, listen β you must call this just before scsi_remove_host for SRP HBAs. Like, it's giving mandatory. Not optional. Don't skip it π
π₯ SEE ALSO π₯
Kernel file ./drivers/scsi/scsi_transport_srp.c
srp_tmo_valid(9)srp_reconnect_work(9)rport_fast_io_fail_timedout(9)rport_dev_loss_timedout(9)srp_start_tl_fail_timers(9)srp_reconnect_rport(9)srp_timed_out(9)srp_rport_get(9)srp_rport_put(9)srp_rport_add(9)srp_rport_del(9)srp_stop_rport_timers(9)srp_attach_transport(9)srp_release_transport(9)
okay that's the whole vibe, bestie π this page lives in ./drivers/scsi, it's the October 2026 version, and it's serving srp_remove_host(9) realness. slay β¨ππ
π¦ 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