ibmvscsi_sdev_configure(9)
π ibmvscsi_sdev_configure(9) π
okay bestie, welcome to the Kernel API Manual β yes, that's the actual manual name, we're in the kernel section now, put your lanyard on π
β¨ NAME β¨
ibmvscsi_sdev_configure β bestie, this one just sets the "allow_restart" flag for each disk. that's it. that's the whole vibe π«Ά
πΈ SYNOPSIS πΈ
int ibmvscsi_sdev_configure (struct scsi_device *sdev , struct
queue_limits *lim );
like, it takes two things and returns an int, no cap π
π¦ ARGUMENTS π¦
sdevβ thestruct scsi_devicewe're configuring, aka the device in question, the main character of this function πlimβ the request queue limits, literally the limits of the request queue, slay β¨
π DESCRIPTION π
so here's the tea, bestie: this function enables allow_restart for a device if it is a disk π₯ like, if it's a disk, it gets allow_restart, periodt.
and while we're here, it also adjusts the queue_depth β which is required by the documentation for struct scsi_host_template, so it's not random, it's documented behavior, iykyk πβ¨
π₯ SEE ALSO π₯
the kernel file is ./drivers/scsi/ibmvscsi/ibmvscsi.c β and omg the friend group is HUGE, look at all these icons π«Ά:
ibmvscsi_handle_event(9)ibmvscsi_release_crq_queue(9)crq_queue_next_crq(9)ibmvscsi_send_crq(9)ibmvscsi_task(9)ibmvscsi_reset_crq_queue(9)ibmvscsi_init_crq_queue(9)ibmvscsi_reenable_crq_queue(9)initialize_event_pool(9)release_event_pool(9)valid_event_struct(9)free_event_struct(9)get_event_struct(9)init_event_struct(9)unmap_cmd_data(9)map_sg_data(9)map_data_for_srp_cmd(9)purge_requests(9)ibmvscsi_set_request_limit(9)ibmvscsi_reset_host(9)ibmvscsi_timeout(9)ibmvscsi_send_srp_event(9)handle_cmd_rsp(9)lun_from_dev(9)ibmvscsi_queuecommand_lck(9)map_persist_bufs(9)unmap_persist_bufs(9)login_rsp(9)send_srp_login(9)capabilities_rsp(9)send_mad_capabilities(9)fast_fail_rsp(9)enable_fast_fail(9)adapter_info_rsp(9)send_mad_adapter_info(9)ibmvscsi_eh_host_reset_handler(9)ibmvscsi_handle_crq(9)ibmvscsi_change_queue_depth(9)ibmvscsi_get_desired_dma(9)ibmvscsi_resume(9)
and that's the whole page, bestie π§π this one's living in ./drivers/scsi/ibmvscsi, dated October 2026, and it's filed under ibmvscsi_sdev_configure(9) β go forth and configure those disks, ily, bye ππ
π¦ 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