fc_rport_enter_delete(9)
π fc_rport_enter_delete(9) π
okay bestie, welcome to the Kernel API Manual page for fc_rport_enter_delete(9) β the one about scheduling a remote port to be deleted. It's giving kernel-internals main character energy, and we're gonna make it make sense. π
β¨
πΈ NAME πΈ
fc_rport_enter_deleteβ Schedule a remote port to be deleted.
β¨ SYNOPSIS β¨
void fc_rport_enter_delete (struct fc_rport_priv *rdata , enum
fc_rport_event event );
π ARGUMENTS π
rdataβ The remote port to be deleted.eventβ The event to report as the reason for deletion.
π¦ DESCRIPTION π¦
okay so, here's the tea: this function allows the state change into DELETE only once. It calls queue_work only if there's no event already pending. It sets the new event so that the old pending event will not occur. And since we have the mutex, even if fc_rport_work is already started, it'll see the new event. No cap. π«Ά
Reference counting: it does not modify kref.
π₯ SEE ALSO π₯
Peep the kernel file ./drivers/scsi/libfc/fc_rport.c β and here's the whole FC bestie lineup, in the exact order the page gives them:
fc_rport_lookup(9),fc_rport_create(9),fc_rport_destroy(9),fc_rport_state(9)fc_set_rport_loss_tmo(9),fc_plogi_get_maxframe(9),fc_rport_state_enter(9),fc_rport_work(9)fc_rport_login(9),fc_rport_logoff(9),fc_rport_enter_ready(9),fc_rport_timeout(9)fc_rport_error(9),fc_rport_error_retry(9),fc_rport_login_complete(9),fc_rport_flogi_resp(9)fc_rport_enter_flogi(9),fc_rport_recv_flogi_req(9),fc_rport_plogi_resp(9),fc_rport_enter_plogi(9)fc_rport_prli_resp(9),fc_rport_enter_prli(9),fc_rport_rtv_resp(9),fc_rport_enter_rtv(9)fc_rport_recv_rtv_req(9),fc_rport_logo_resp(9),fc_rport_enter_logo(9),fc_rport_adisc_resp(9)fc_rport_enter_adisc(9),fc_rport_recv_adisc_req(9),fc_rport_recv_rls_req(9),fc_rport_recv_els_req(9)fc_rport_recv_req(9),fc_rport_recv_plogi_req(9),fc_rport_recv_prli_req(9),fc_rport_recv_prlo_req(9)fc_rport_recv_logo_req(9),fc_rport_flush_queue(9),fc_rport_fcp_prli(9),fc_rport_t0_prli(9)fc_setup_rport(9),fc_destroy_rport(9),fc_rport_terminate_io(9)
source/version footer says ./drivers/scsi/libfc, the date on the page is October 2026, and this has been fc_rport_enter_delete(9) from the Kernel API Manual β bye bestie, go schedule that deletion responsibly ππ¦
π¦ 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