fc_bsg_host_dispatch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’« NAME πŸ’«

fc_bsg_host_dispatch β€” bestie, this is the function that takes your fc host bsg requests and hands them off to the LLDD πŸ’…


✨ SYNOPSIS ✨

int fc_bsg_host_dispatch (struct Scsi_Host *shost , struct bsg_job *job
);

okay so real talk, it returns an int, and it takes two things. that's it. that's the whole vibe πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • shost β€” the scsi host rport attached to 🫢 like, this is the host it's riding for, yk?
  • job β€” the bsg job to be processed. this is the actual work item getting yeeted through the pipeline ⭐

🌈 SEE ALSO 🌈

no cap, this function does not exist in a vacuum β€” here's the whole friend group, all from the Kernel file ./drivers/scsi/scsi_transport_fc.c:

like... thirty-two of them. it's giving "everyone showed up to the function's birthday party" 😭πŸ”₯ go read them, iykyk.


πŸ’€ seriously though, if you're touching fc_bsg_host_dispatch in ./drivers/scsi, please actually read the ones above. fc_bsg_rport_dispatch(9) especially β€” it's the sibling, and the way that they mirror each other? obsessed. 🧚

okay bestie that's the page!! πŸ“ this was the Kernel API Manual entry for fc_bsg_host_dispatch, and the whole thing lives in ./drivers/scsi β€” stamped October 2026, version vibes and all. slay, go dispatch some requests, periodt πŸ’œπŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from