nvmet_fc_rcv_fcp_abort(9)
π 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 thefcpreqrequest 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 π
- Kernel file
./drivers/nvme/target/fc.c nvmet_fc_register_targetport(9)nvmet_fc_invalidate_host(9)nvmet_fc_unregister_targetport(9)nvmet_fc_rcv_ls_req(9)nvmet_fc_rcv_fcp_req(9)
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
- 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