megasas_bui...nonrw_fusion(9)
π megasas_bui...nonrw_fusion β Kernel API Manual β¨
Okay so bestie, before we even get into it β this page lives in the Kernel API Manual, and its whole title is megasas_bui...nonrw_fusion(9). Yes the name is a whole abbrev-ed situation with the ... in the middle, we don't ask questions, we just vibe check it and move on. π«Ά No cap, the manual name is doing the heavy lifting up top so I'm folding it in right here instead of retyping that header line like a loser.
πΈ NAME πΈ
megasas_build_ld_nonrw_fusion β prepares non rw ios for virtual disk π
Like, literally that's the whole flex. It preps the non-read/write I/O for a virtual disk. Slay.
β SYNOPSIS β
void megasas_build_ld_nonrw_fusion (struct megasas_instance *instance ,
struct scsi_cmnd *scmd , struct megasas_cmd_fusion *cmd );
No return value, it's a void girlie β she does the work and doesn't ask for credit. Iconic behaviour honestly. π
π¦ ARGUMENTS π¦
instanceβ the adapter soft state π that's the big-picture adapter context, the main character of this whole operation.scmdβ the SCSI command π the thing you actually wanna do.cmdβ the command to be prepared π your blank canvas, the frame that's about to get filled in.
β¨ DESCRIPTION β¨
Prepares the io_request frame for non-rw io cmds for vd. π
That's it, that's the tea. It takes the io_request frame and gets it ready for non-rw I/O commands on the virtual disk. Not me being obsessed with how clean that is. π§
π₯ SEE ALSO π₯
Kernel file: ./drivers/scsi/megaraid/megaraid_sas_fusion.c π
And now, the friend group β every single one of them, no gatekeeping here bestie, we're listing them all:
megasas_adp_reset_wait_for_ready(9)megasas_check_same_4gb_region(9)megasas_enable_intr_fusion(9)megasas_disable_intr_fusion(9)megasas_get_cmd_fusion(9)megasas_return_cmd_fusion(9)megasas_write_64bit_req_desc(9)megasas_fire_cmd_fusion(9)megasas_fusion_update_can_queue(9)megasas_free_cmds_fusion(9)megasas_create_sg_sense_fusion(9)megasas_alloc_cmds_fusion(9)wait_and_poll(9)megasas_ioc_init_fusion(9)megasas_sync_pd_seq_num(9)megasas_allocate_raid_maps(9)megasas_configure_queue_sizes(9)megasas_free_ioc_init_cmd(9)megasas_init_adapter_fusion(9)megasas_fault_detect_work(9)map_cmd_status(9)megasas_is_prp_possible(9)megasas_make_prp_nvme(9)megasas_make_sgl_fusion(9)megasas_make_sgl(9)megasas_set_pd_lba(9)megasas_stream_detect(9)megasas_set_raidflag_cpu_affinity(9)megasas_build_ldio_fusion(9)megasas_build_syspd_fusion(9)megasas_build_io_fusion(9)megasas_build_and_issue_cmd_fusion(9)megasas_complete_r1_command(9)access_irq_context(9)release_irq_context(9)complete_cmd_fusion(9)megasas_enable_irq_poll(9)megasas_sync_irqs(9)megasas_irqpoll(9)megasas_complete_cmd_dpc_fusion(9)megasas_isr_fusion(9)build_mpt_mfi_pass_thru(9)build_mpt_cmd(9)megasas_issue_dcmd_fusion(9)megasas_release_fusion(9)megasas_read_fw_status_reg_fusion(9)megasas_alloc_host_crash_buffer(9)megasas_free_host_crash_buffer(9)megasas_adp_reset_fusion(9)megasas_check_reset_fusion(9)megasas_trigger_snap_dump(9)megasas_tm_response_code(9)megasas_issue_tm(9)
π Quick note bestie: megasas functions go deep, so if one of these links leads you somewhere unexpected, that's just the kernel being the kernel. Read the source, it's the vibe.
Okay that's the whole page!! π Sign-off time: this one came out of ./drivers/scsi/megaraid, dated October 2026, and it lives under the Kernel API Manual name, page title megasas_bui...nonrw_fusion(9). Bye bestie, go prep those non-rw ios, you're gonna ate πβ¨π
π¦ 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