STRUCT ISER_GLOBAL(9)
π struct iser_global(9) β iSER global context π
okay bestie, welcome to the struct iser_global(9) page from the Kernel API Manual β¨ this is the glowing little control room for iSER, and we're gonna walk through every single field together, no skips, no cap π«Ά
πΈ NAME πΈ
struct iser_global β the iSER global context, aka the main character struct that holds all the global state π
β¨ SYNOPSIS β¨
here's the whole shape of it, copy-pasted with love:
struct iser_global {
struct mutex device_list_mutex;
struct list_head device_list;
struct mutex connlist_mutex;
struct list_head connlist;
struct kmem_cache *desc_cache;
};
π¦ Members π¦
yesss the members section, our fave π every field, one by one:
device_list_mutexβ protectsdevice_listπ that's its whole job and it does it slayfullydevice_listβ the iser devices global list π literally the master list of devices, periodtconnlist_mutexβ protectsconnlistπ another bouncer, this time for the connectionsconnlistβ the iser connections global list π all the connections, all in one place, iykykdesc_cacheβ a kmem cache for tx dataout π memory caching but make it functional
π SEE ALSO π
okay so here's the whole friend group, go say hi π (kernel file ./drivers/infiniband/ulp/iser/iscsi_iser.h and then):
struct iser_data_buf(9)struct iser_mem_reg(9)struct iser_tx_desc(9)struct iser_rx_desc(9)struct iser_login_desc(9)struct iser_device(9)struct iser_reg_resources(9)struct iser_fr_desc(9)struct iser_fr_pool(9)struct ib_conn(9)struct iser_conn(9)struct iscsi_iser_task(9)
π reminder bestie: the mutexes only matter if you actually use them. read the members, respect the locks, no cap.
okay that's the page!! it lives at ./drivers/infiniband/ulp/iser, dated October 2026, and the title was of course struct iser_global(9) β mwah, bye, go read some structs π§ππ
π¦ 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