diag_trigger_scsi_store(9)
π diag_trigger_scsi_store(9) π
okay so first things first, bestie: this is a page from the Kernel API Manual (yes, the section 9 girlies, kernel internals only, we don't do userland here π). It's about one tiny little sysfs store function that lives way deep in the SCSI/mpt3sas woods, and honestly? she's lowkey iconic for how much lore sits around her.
β¨ NAME β¨
diag_trigger_scsi_store β the girl who stores the diag_trigger_scsi attribute. that's it. that's the whole job. store it. periodt. π
πΈ SYNOPSIS πΈ
ssize_t diag_trigger_scsi_store (struct device *cdev , struct device_attribute *attr , const char *buf , size_t count );
like, look at her. ssize_t return, four args, no notes. π
π¦ ARGUMENTS π¦
cdevβ pointer to embedded class device. that's the device she's attached to, okurr πattrβ?β¦ yeah babe the docs genuinely just say?here π the original authors left us on read, so I'm not gonna invent lore that isn't there. we respect the mystery πbufβ the buffer returned. that's the thing getting stored, bestie βcountβ?β¦ again with the?π count is a mystery in the source docs and I refuse to make up technical claims. we simply do not know. and that's fine!! π«Ά
ngl the two?s are sending me, but rule number one around here is facts stay facts, so the?s stay?s. no cap. π₯
π DESCRIPTION π
A sysfs 'read/write' shost attribute.
that's the whole description. she's short, she's sweet, she's a sysfs 'read/write' shost attribute and she said what she said π like yes, it's a real thing, it's got both read and write energy, and it belongs to the shost. main character attribute behavior fr fr π
β¨
π§ SEE ALSO π§
bestie. buckle up. the SEE ALSO section on this page is unhinged in the best way β it's basically the entire mpt3sas extended family showing up to the group chat at once π«Ά the kernel file is ./drivers/scsi/mpt3sas/mpt3sas_ctl.c, and here's every single one of her friends, in order, no one left behind:
enum block_state(9),_ctl_display_some_debug(9),mpt3sas_ctl_done(9),_ctl_check_event_type(9),mpt3sas_ctl_add_to_event_log(9),mpt3sas_ctl_event_callback(9),_ctl_verify_adapter(9),mpt3sas_ctl_pre_reset_handler(9),mpt3sas_ctl_clear_outstanding_ioctls(9),mpt3sas_ctl_reset_done_handler(9),_ctl_fasync(9),_ctl_poll(9),_ctl_set_task_mid(9),_ctl_send_mctp_passthru_req(9),_ctl_do_mpt_command(9),_ctl_getiocinfo(9),_ctl_eventquery(9),_ctl_eventenable(9),_ctl_eventreport(9),_ctl_do_reset(9),_ctl_btdh_search_sas_device(9),_ctl_btdh_search_pcie_device(9),_ctl_btdh_search_raid_device(9),_ctl_btdh_mapping(9),_ctl_diag_capability(9),_ctl_diag_get_bufftype(9),_ctl_diag_register_2(9),mpt3sas_enable_diag_buffer(9),_ctl_diag_register(9),_ctl_diag_unregister(9),_ctl_diag_query(9),mpt3sas_send_diag_release(9),_ctl_diag_release(9),_ctl_diag_read_buffer(9),_ctl_addnl_diag_query(9),_ctl_enable_diag_sbr_reload(9),_ctl_compat_mpt_command(9),_ctl_ioctl_main(9),_ctl_get_mpt_mctp_passthru_adapter(9),mpt3sas_get_device_count(9),_ctl_ioctl(9),_ctl_mpt2_ioctl(9),_ctl_ioctl_compat(9),_ctl_mpt2_ioctl_compat(9),version_fw_show(9),version_bios_show(9),version_mpi_show(9),version_product_show(9),version_nvdata_persistent_show(9),version_nvdata_default_show(9),board_name_show(9),board_assembly_show(9),board_tracer_show(9),io_delay_show(9),device_delay_show(9),fw_queue_depth_show(9),host_sas_address_show(9),logging_level_show(9),fwfault_debug_show(9),ioc_reset_count_show(9),reply_queue_count_show(9),BRM_status_show(9),host_trace_buffer_size_show(9),host_trace_buffer_show(9),host_trace_buffer_enable_show(9),diag_trigger_master_show(9),diag_trigger_master_store(9),diag_trigger_event_show(9),diag_trigger_event_store(9),diag_trigger_scsi_show(9),diag_trigger_mpi_show(9),diag_trigger_mpi_store(9),drv_support_bitmap_show(9),enable_sdev_max_qd_show(9),enable_sdev_max_qd_store(9),sas_address_show(9),sas_device_handle_show(9),sas_ncq_prio_supported_show(9),sas_ncq_prio_enable_show(9),mpt3sas_ctl_init(9),mpt3sas_ctl_release(9),mpt3sas_ctl_exit(9)
likeβ¦ seventy-plus besties. it's giving family reunion π and yes, her sister pages diag_trigger_scsi_show(9), diag_trigger_mpi_show(9) and diag_trigger_mpi_store(9) are right there in the mix, iykyk π
quick vibe check π: the two ? arguments and the one-line DESCRIPTION are exactly what the original gives us β nothing more, nothing invented. we keep every detail, we just made it cute.
okay that's the page!! mwah π this little writeup came to you straight out of ./drivers/scsi/mpt3sas, dated October 2026 β go drink some water and go touch a kernel module, bestie π«Άβ¨πΈ
π¦ 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