ibmvscsis_poll_cmd_q(9)
π ibmvscsis_poll_cmd_q β poll command queue β¨
Okay so bestie, this one lives in the Kernel API Manual (section 9, the kernel-functions section, iykyk) and it's lowkey a little workhorse. Let's get into it π
πΈ NAME πΈ
ibmvscsis_poll_cmd_q β Poll Command Queue. That's it, that's the whole vibe π
β¨ SYNOPSIS β¨
void ibmvscsis_poll_cmd_q (struct scsi_info *vscsi );
No return value, no drama β it's giving void main character energy π
π¦ ARGUMENTS π¦
vscsiβ Pointer to our adapter structure. Yes, ours. It's the adapter, and you're handing over a pointer to it π«Ά
π DESCRIPTION π
So here's the deal: this function is what gets called to handle command elements that may have arrived while interrupts were disabled π Like, the doorbell got unplugged, packages piled up on the porch, and now we gotta go through them. That's the whole job.
β οΈ EXECUTION ENVIRONMENT: intr_lock must be held. Not optional, not "eh, probably fine" β held. No cap. π
π§ SEE ALSO π§
Kernel file ./drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c β that's where the whole friend group hangs out π
And the rest of the squad, fr fr:
connection_broken(9), ibmvscsis_unregister_command_q(9), ibmvscsis_delete_client_info(9), ibmvscsis_free_command_q(9), ibmvscsis_cmd_q_dequeue(9), ibmvscsis_send_init_message(9), ibmvscsis_check_init_msg(9), ibmvscsis_disconnect(9), ibmvscsis_post_disconnect(9), ibmvscsis_handle_init_compl_msg(9), ibmvscsis_handle_init_msg(9), ibmvscsis_init_msg(9), ibmvscsis_establish_new_q(9), ibmvscsis_reset_queue(9), ibmvscsis_free_cmd_resources(9), ibmvscsis_ready_for_suspend(9), ibmvscsis_trans_event(9), ibmvscsis_free_cmd_qs(9), ibmvscsis_get_free_cmd(9), ibmvscsis_adapter_idle(9), ibmvscsis_copy_crq_packet(9), ibmvscsis_adapter_info(9), ibmvscsis_cap_mad(9), ibmvscsis_process_mad(9), srp_snd_msg_failed(9), ibmvscsis_send_messages(9), ibmvscsis_mad(9), ibmvscsis_login_rsp(9), ibmvscsis_srp_login_rej(9), ibmvscsis_srp_login(9), ibmvscsis_srp_i_logout(9), ibmvscsis_ping_response(9), ibmvscsis_parse_command(9), ibmvscsis_parse_cmd(9), ibmvscsis_parse_task(9), ibmvscsis_service_wait_q(9), ibmvscsis_enable_change_state(9), ibmvscsis_create_command_q(9), ibmvscsis_destroy_command_q(9), srp_build_response(9), ibmvscsis_handle_crq(9)
Mwah π this page came from the ./drivers/scsi/ibmvscsi_tgt corner of the kernel, dated October 2026, and the manual it's filed under is ibmvscsis_poll_cmd_q(9). Go poll that queue, bestie β you got this π«Άπ
π¦ 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