nvmet_fc_rcv_fcp_abort(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nvmet_fc_rcv_fcp_abort(9) πŸ’…

okay so bestie, this is a page from the Kernel API Manual and it's literally about nvmet_fc_rcv_fcp_abort β€” the transport entry point your LLDD calls when an ABTS shows up for an FCP command. yes we're starting with the plot twist, keep up πŸŽ€


✨ NAME ✨

nvmet_fc_rcv_fcp_abort β€” the transport entry point that gets called by an LLDD when an ABTS arrives for an FCP command πŸ¦‹


🌸 SYNOPSIS 🌸

void nvmet_fc_rcv_fcp_abort (struct nvmet_fc_target_port *target_port ,
struct nvmefc_tgt_fcp_req *fcpreq );

πŸŽ€ ARGUMENTS πŸŽ€

  • target_port β€” pointer to the (registered) target port that the FCP CMD IU was received on. it's the port, it's registered, it's giving main character energy πŸ‘‘
  • fcpreq β€” pointer to the fcpreq request structure that corresponds to the exchange which received the ABTS. like, that exchange 🫢

πŸ”₯ DESCRIPTION πŸ”₯

So what this does is notify the transport that an ABTS has been received for a FCP command that had been given to the transport via nvmet_fc_rcv_fcp_req. and where's the LLDD in all this? the LLDD believes the command is still being worked on β€” meaning template_ops->fcp_req_release has not been called. ngl, that's the whole vibe check here πŸ’€

The transport will wait for any outstanding work β€” that's either an op to the LLDD, which the LLDD should complete with error due to the ABTS, or the completion from the nvmet layer of the nvme command. then, after all that, it will stop processing and call the nvmet_fc_rcv_fcp_req callback to return the i/o context to the LLDD. slay πŸ’…

And the LLDD? it may send the BA_ACC to the ABTS either after return from this function β€” assuming any outstanding op work has been terminated β€” or upon the callback being called. two valid paths, both iconic ✨


🌈 SEE ALSO 🌈

go read the whole friend group, fr fr πŸ“š


and that's the page bestie!! πŸ“ coming at you from ./drivers/nvme/target, dated October 2026 β€” no cap, that's the source and the date, go off calendar icon you ate πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from