ibmvscsis_e...change_state(9)
π ibmvscsis_enable_change_state β a Kernel API Manual moment
okay so bestie, welcome to the ibmvscsis_e...change_state(9) page, straight out of the Kernel API Manual. it's short, it's sweet, it's got one job, and it does it. let's get into it β¨
πΈ NAME πΈ
ibmvscsis_enable_change_state β sets a whole new state based on the enabled status, no cap π«Ά
β¨ SYNOPSIS β¨
long ibmvscsis_enable_change_state (struct scsi_info *vscsi );
like, that's the whole signature. she's compact. she's iconic. π
π ARGUMENTS π
vscsiβ a pointer to our adapter structure, i.e. literally the main character of this whole function π«Ά
π¦ DESCRIPTION π¦
so basically, now that we're enabled, this function figures out what our new state should be. that's the vibe check. and lowkey? that may involve sending an Init Complete message over to the client, so keep an eye out for that π
β οΈ must be called with the interrupt lock held. not "should", not "if u feel like it" β must. fr fr. hold the lock, bestie π
π SEE ALSO π
the whole friend group, in the kernel file ./drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:
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_poll_cmd_q(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_create_command_q(9)ibmvscsis_destroy_command_q(9)srp_build_response(9)ibmvscsis_handle_crq(9)
and that's the whole page bestie, you ate that π
signing off from ./drivers/scsi/ibmvscsi_tgt, dated October 2026 β mwah, go hold that interrupt lock ππ§
π¦ 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