fcoe_ctlr_disc_stop_final(9)
π fcoe_ctlr_disc_stop_final β from the Kernel API Manual, bestie
Okay so picture this: it's the fcoe_ctlr_disc_stop_final(9) page, it lives in the Kernel API Manual, and it's about stopping discovery for shutdown in VN2VN mode. That's it. That's the whole vibe. Sad little one-job function but honestly? Iconic. Let's get into it. π¦
β¨ NAME β¨
fcoe_ctlr_disc_stop_final β stop discovery for shutdown in VN2VN mode, no cap π
πΈ SYNOPSIS πΈ
void fcoe_ctlr_disc_stop_final (struct fc_lport *lport );
Yep, returns void, takes exactly one thing, no surprises. Slay.
π ARGUMENTS π
lportβ the local port π«Ά that's literally the whole parameter list, bestie
π₯ DESCRIPTION π₯
So the way this works: this function gets called through the local port template for discovery. That's the entry point, that's how it arrives at the function, iykyk.
And the big detail you cannot miss: it's called without the ctlr_mutex held. π¨ Literally no lock, none, zero. So don't be out here assuming the mutex is chillin' in your hand when this runs.
That's genuinely everything this function does communication-wise. Short page. Clean page. Ate, honestly. π
β SEE ALSO β
Also, the kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c is where the whole saga lives β and here's the full friend group, every single one, no skipping, periodt:
fcoe_ctlr_set_state(9)fcoe_ctlr_mtu_valid(9)fcoe_ctlr_fcf_usable(9)fcoe_ctlr_map_dest(9)fcoe_ctlr_init(9)fcoe_sysfs_fcf_add(9)fcoe_sysfs_fcf_del(9)fcoe_ctlr_reset_fcfs(9)fcoe_ctlr_destroy(9)fcoe_ctlr_announce(9)fcoe_ctlr_fcoe_size(9)fcoe_ctlr_solicit(9)fcoe_ctlr_link_up(9)fcoe_ctlr_reset(9)fcoe_ctlr_link_down(9)fcoe_ctlr_send_keep_alive(9)fcoe_ctlr_encaps(9)fcoe_ctlr_els_send(9)fcoe_ctlr_age_fcfs(9)fcoe_ctlr_parse_adv(9)fcoe_ctlr_recv_adv(9)fcoe_ctlr_recv_els(9)fcoe_ctlr_recv_clr_vlink(9)fcoe_ctlr_recv(9)fcoe_ctlr_recv_handler(9)fcoe_ctlr_select(9)fcoe_ctlr_flogi_send_locked(9)fcoe_ctlr_flogi_retry(9)fcoe_ctlr_flogi_send(9)fcoe_ctlr_timeout(9)fcoe_ctlr_timer_work(9)fcoe_ctlr_recv_work(9)fcoe_ctlr_recv_flogi(9)fcoe_wwn_from_mac(9)fcoe_ctlr_rport(9)fcoe_ctlr_vn_send(9)fcoe_ctlr_vn_rport_callback(9)fcoe_ctlr_disc_stop_locked(9)fcoe_ctlr_disc_stop(9)fcoe_ctlr_vn_restart(9)fcoe_ctlr_vn_start(9)fcoe_ctlr_vn_parse(9)fcoe_ctlr_vn_send_claim(9)fcoe_ctlr_vn_probe_req(9)fcoe_ctlr_vn_probe_reply(9)fcoe_ctlr_vn_add(9)fcoe_ctlr_vn_lookup(9)fcoe_ctlr_vn_claim_notify(9)fcoe_ctlr_vn_claim_resp(9)fcoe_ctlr_vn_beacon(9)fcoe_ctlr_vn_age(9)fcoe_ctlr_vn_recv(9)fcoe_ctlr_vlan_parse(9)fcoe_ctlr_vlan_send(9)fcoe_ctlr_vlan_disc_reply(9)fcoe_ctlr_vlan_recv(9)fcoe_ctlr_disc_recv(9)fcoe_ctlr_vn_disc(9)fcoe_ctlr_vn_timeout(9)fcoe_ctlr_mode_set(9)fcoe_libfc_config(9)
Quick vibe check before you go: it's called through the local port template for discovery, and it is not holding ctlr_mutex. Those two facts are the whole personality. π
And that's a wrap, bestie π this page came from the ./drivers/scsi/fcoe corner of the source tree, dated October 2026, and it's filed under that Kernel API Manual energy. Go forth and stop that discovery for shutdown in VN2VN mode, you absolute main character. πβ¨
π¦ 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