lpfc_discovery_wait(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« lpfc_discovery_wait(9) πŸ’«

okay so bestie, welcome to the Kernel API Manual entry for lpfc_discovery_wait β€” yes, that's the function name and also the whole vibe of this page. let's get into it πŸŽ€


✨ NAME ✨

lpfc_discovery_wait β€” wait for driver discovery to quiesce. literally just sit there and let discovery chill out before you do anything else πŸ’…


🌸 SYNOPSIS 🌸

void lpfc_discovery_wait (struct lpfc_vport *vport );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vport β€” the virtual port for which this call is being executed. that's it, that's the whole argument, she's lowkey simple like that 🫢

πŸ‘‘ DESCRIPTION πŸ‘‘

so this driver calls this routine specifically from lpfc_vport_delete to enforce a synchronous execution of vport delete relative to discovery activities. like, the delete has to line up with discovery and wait its turn, no cutting the queue bestie 😭

the lpfc_vport_delete routine should not return until it can reasonably guarantee that discovery has quiesced. that's the whole point β€” delete does not get to dip until discovery is actually done.

post FDISC LOGO, the driver must wait until its SAN teardown is complete and all resources recovered before allowing cleanup. so after the FDISC LOGO situation, it's giving "we are not leaving until the SAN teardown is finished and every resource is recovered," periodt πŸ”₯

this routine does not require any locks held. no lock drama, no extra setup, she's self-sufficient like that πŸ’€

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/scsi/lpfc/lpfc_vport.c

and that's the page, bestie! this iconic little number lives in ./drivers/scsi/lpfc and the version/date moment is October 2026, with the manual page name being lpfc_discovery_wait(9) β€” so yeah, that's the whole sign-off: source ./drivers/scsi/lpfc, dated October 2026, page lpfc_discovery_wait(9) πŸ§šπŸ’œ

πŸ“¦ where this page comes from