target_stop_session(9)
π target_stop_session β Kernel API Manual, section 9 π
okay so bestie, welcome to the glow-up era of target_stop_session. This is a section 9 kernel API page, and it's giving "short and iconic" β like, the whole function is one line and I'm obsessed. Let's get into it. β¨
πΈ NAME πΈ
target_stop_session β stop new IO from being queued on the session. literally just vibes of "no new entries, we're closed bestie". π«
π¦ SYNOPSIS π¦
void target_stop_session (struct se_session *se_sess );
notice the return type is void β so like, she does her thing and doesn't report back. main character energy, no receipts needed. π
π ARGUMENTS π
se_sessβ the session to stop. that's it, that's the whole argument. hand her yourstruct se_session *and she'll put it on pause. π«Ά
β SEE ALSO β
the whole friend group, lowkey a full group chat of related functions β go say hi:
- Kernel file
./drivers/target/target_core_transport.c transport_init_session(9)transport_alloc_session(9)transport_alloc_session_tags(9)transport_init_session_tags(9)target_cmd_size_check(9)target_init_cmd(9)target_submit_prep(9)target_submit_cmd(9)target_queue_submission(9)target_submit(9)target_submit_tmr(9)target_get_sess_cmd(9)target_put_sess_cmd(9)target_stop_cmd_counter(9)target_wait_for_cmds(9)target_wait_for_sess_cmds(9)transport_wait_for_tasks(9)translate_sense_reason(9)target_send_busy(9)
ngl bestie, if you're deep in the target core code you're gonna want the whole list above bookmarked. iykyk. π₯
and that's the whole page, no cap β she's short, she's sweet, she stops new IO from being queued on the session, periodt. π
huge thank you to the ./drivers/target source crew β this little gem is dated October 2026 and lives in the Kernel API Manual, section 9. mwah, stan, bye bestie! π§ππ
π¦ 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