fc_disc_start(9)
π fc_disc_start(9) β like, the discovery starter, bestie
okay so real talk, this is a page from the Kernel API Manual and it's lowkey iconic. It's fc_disc_start(9), and it does exactly one (1) thing but it does it slayfully: it kicks off discovery on a local port. That's the whole vibe. β¨
β¨ NAME β¨
fc_disc_start β start discovery on a local port π¦
πΈ SYNOPSIS πΈ
void fc_disc_start (void (*disc_callback)(struct fc_lport *, enum
fc_disc_event) , struct fc_lport *lport );
like yes it's a mouthful, breathe. it's a void function, it takes two things, we move. π
π ARGUMENTS π
disc_callbackβ the callback function, aka the little guy who gets called when discovery is complete. you hand it over, it does its thing, everybody's happy. π«Άlportβ the local port that you want discovery started on. this is the main character of the operation ngl. π
π¦ SEE ALSO π¦
the kernel file lives at ./drivers/scsi/libfc/fc_disc.c and honestly the whole friend group shows up here β go read these too, they're all part of the same era:
fc_disc_stop_rports(9)fc_disc_recv_rscn_req(9)fc_disc_recv_req(9)fc_disc_restart(9)fc_disc_done(9)fc_disc_error(9)fc_disc_gpn_ft_req(9)fc_disc_gpn_ft_parse(9)fc_disc_timeout(9)fc_disc_gpn_ft_resp(9)fc_disc_gpn_id_resp(9)fc_disc_gpn_id_req(9)fc_disc_single(9)fc_disc_stop(9)fc_disc_stop_final(9)fc_disc_config(9)fc_disc_init(9)
like that's the entire group chat, no cap. π
fr fr though β if you're poking at this, read the neighbours first.fc_disc_config(9)andfc_disc_init(9)are the setup girlies,fc_disc_done(9)andfc_disc_error(9)are where the callback energy lands, andfc_disc_stop(9)/fc_disc_stop_final(9)are the cleanup crew. iykyk. π
and that's the page!! brought to you by the fine people over at ./drivers/scsi/libfc, dated October 2026, in the Kernel API Manual. mwah, go forth and discover ππβ
π¦ 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