fc_vport_terminate(9)
π fc_vport_terminate(9) π
okay bestie, so this one lives in the Kernel API Manual β yes, the actual manual manual, the fc_vport_terminate(9) one. Don't worry, I'm not gonna copy-paste that whole header line at you, we're doing this properly. Let's go. β¨
πΈ NAME πΈ
fc_vport_terminate β Admin App or LLDD requests termination of a vport
π SYNOPSIS π
int fc_vport_terminate (struct fc_vport *vport );
π¦ ARGUMENTS π¦
vportβ thefc_vportto be terminated. like, that's the one, that's the vport getting its exit arc π
π DESCRIPTION π
so what this does: it calls the LLDD vport_delete function first, and then it deallocates and removes the vport from the shost and the object tree. that's the whole ritual, that's the plot. calls vport_delete, deallocates, removes, done. slay. π
π₯ NOTES π₯
this routine assumes no locks are held on entry. no cap. if you show up holding a lock, that's on you bestie, this function did not sign up for that π
β SEE ALSO β
the kernel file ./drivers/scsi/scsi_transport_fc.c β that's home base π β plus this absolute stack of friends:
fc_get_event_number(9)fc_host_post_fc_event(9)fc_host_post_event(9)fc_host_post_vendor_event(9)fc_find_rport_by_wwpn(9)fc_host_fpin_rcv(9)fc_eh_timed_out(9)fc_queue_work(9)fc_flush_work(9)fc_queue_devloss_work(9)fc_flush_devloss(9)fc_remove_host(9)fc_starget_delete(9)fc_rport_final_delete(9)fc_remote_port_create(9)fc_remote_port_add(9)fc_remote_port_delete(9)fc_remote_port_rolechg(9)fc_timeout_deleted_rport(9)fc_timeout_fail_rport_io(9)fc_scsi_scan_rport(9)fc_block_rport(9)fc_block_scsi_eh(9)fc_vport_setup(9)fc_vport_create(9)fc_vport_sched_delete(9)fc_bsg_job_timeout(9)fc_bsg_host_dispatch(9)fc_bsg_rport_dispatch(9)fc_bsg_hostadd(9)fc_bsg_rportadd(9)fc_bsg_remove(9)
like. look at that list. it's giving main character energy and every one of them is a whole mood π€β¨
anyway that's the page! π«Ά this whole thing came out of ./drivers/scsi and it's stamped October 2026 β so like, go forth and terminate those vports, and remember: no locks on entry, bestie. periodt. π§π
π¦ 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