srpt_close_session(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– srpt_close_session(9) β€” from the Kernel API Manual πŸ’–

Okay bestie, this is the page for srpt_close_session(9) from the Kernel API Manual. It’s giving β€œforcibly close a session,” and we’re gonna read it together, no cap. 🫢

✨ NAME ✨

srpt_close_session β€” forcibly close a session πŸ’…

🌸 SYNOPSIS 🌸

void srpt_close_session (struct se_session *se_sess );

πŸŽ€ ARGUMENTS πŸŽ€

  • se_sess β€” the SCSI target session, periodt. 🎯

πŸ’… DESCRIPTION πŸ’…

Okay so here’s the tea: srpt_close_session() is a callback function, and the TCM core invokes it to clean up sessions associated with a node ACL when the user invokes:

rmdir /sys/kernel/config/target/$driver/$port/$tpg/acls/$i_port_id

That’s the whole vibe: node ACL cleanup time, triggered by that rmdir, bestie. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/infiniband/ulp/srpt/ib_srpt.c β€” yes, the source is right there, go be nosy. πŸ‘‘

The whole srpt bestie lineup:


Source/version: ./drivers/infiniband/ulp/srpt Β· date: October 2026 Β· page: srpt_close_session(9). Bye bestie, go slay πŸ’…πŸ’–

πŸ“¦ where this page comes from