fc_bsg_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fc_bsg_remove β€” the Kernel API Manual, bestie edition πŸŽ€

Okay so welcome to fc_bsg_remove(9), from the Kernel API Manual ✨ β€” this is the little cleanup function that deletes the bsg hooks on fchosts/rports, and honestly it's giving "last one out turns off the lights" energy πŸ‘‘.


🌸 NAME 🌸

fc_bsg_remove β€” deletes the bsg hooks on fchosts/rports. that's it, that's the whole job πŸ’–


✨ SYNOPSIS ✨

void fc_bsg_remove (struct request_queue *q );

no return value, no drama, just vibes and a void πŸ¦‹


🫢 ARGUMENTS 🫢

  • q β€” the request_queue that is to be torn down. like, this is the queue you're saying bye to 😭 the function knows what to do with it.

πŸ’… NOTES πŸ’…

before unregistering the queue, empty any requests that are blocked 🚨

fr fr, that's not optional β€” do the emptying first, then unregister. skip that step and you're asking for trouble, no cap πŸ’€


🌈 SEE ALSO 🌈

the kernel file you wanna peek at: ./drivers/scsi/scsi_transport_fc.c πŸ“

and the whole friend group of related calls (they all live in section 9, iykyk):


and that's the page!! 🧚 source location is ./drivers/scsi, and it's dated October 2026 β€” so yeah, mark your calendar bestie πŸ“ stay slay, stay blocked-request-free, mwah πŸ’œ

πŸ“¦ where this page comes from