iscsi_iser_ep_poll(9)
โจ iscsi_iser_ep_poll(9) โจ
Okay bestie, so this is a page from the Kernel API Manual โ yes, the kernel has its own manual, we love that for it ๐
โ and it's all about iscsi_iser_ep_poll, which is literally the function that waits around to see if your iser connection finished setting up. No cap.
๐ธ SYNOPSIS ๐ธ
int iscsi_iser_ep_poll (struct iscsi_endpoint *ep , int timeout_ms );
That's the whole signature, pristine, don't touch it ๐
๐ฆ ARGUMENTS ๐ฆ
epโ the iscsi endpoint, aka the one you made earlier when you calledep_connect. Your little connection baby ๐ซถtimeout_msโ how long you're allowed to poll, measured in ms. The patience budget, basically โณ
๐ DESCRIPTION ๐
So what does this actually do? It boils down to waiting. Like, sitting there waiting for up_completion to signal that cma_id got the CONNECTED event. That's it. That's the whole vibe check. The function just chills until the connection says "hey bestie I'm up" ๐ฅ
โญ RETURN โญ
Here's the tea on what you get back:
1โ slayed it, connection establishment succeeded ๐0โ timeout expired. Not the end of the world though, because libiscsi will retry, it'll kick in, we move ๐-1โ interrupted by a signal, or (and honestly more likely) the iser connection state transitioned toTEMINATINGorDOWNwhile we were waiting. Rip ๐ญ (yes, it's spelledTEMINATINGin the source, we don't make the rules, we just report them ๐)
๐ฎ SEE ALSO ๐ฎ
The kernel file this lives in:
./drivers/infiniband/ulp/iser/iscsi_iser.c
And the whole friend group of related functions, all here, all accounted for:
iscsi_iser_pdu_alloc(9)iser_initialize_task_headers(9)iscsi_iser_task_init(9)iscsi_iser_mtask_xmit(9)iscsi_iser_task_xmit(9)iscsi_iser_cleanup_task(9)iscsi_iser_check_protection(9)iscsi_iser_conn_create(9)iscsi_iser_conn_bind(9)iscsi_iser_conn_start(9)iscsi_iser_conn_stop(9)iscsi_iser_session_destroy(9)iscsi_iser_session_create(9)iscsi_iser_conn_get_stats(9)iscsi_iser_ep_connect(9)iscsi_iser_ep_disconnect(9)
Heads up bestie: that SEE ALSO list is not optional reading, it's the whole squad. Go say hi ๐ง
And that's the page! Sourced from ./drivers/infiniband/ulp/iser, dated October 2026, and filed under iscsi_iser_ep_poll(9) in the Kernel API Manual. Periodt. ๐โจ
๐ฆ 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