mptsas_issue_tm(9)
π mptsas_issue_tm(9) β like, the whole manual, bestie β¨
okay so you found the mptsas_issue_tm(9) page, welcome, come sit with me π«Ά this is the Kernel API Manual entry for sending an mptsas internal tm request. that's the whole vibe. let's get into it π
πΈ NAME πΈ
mptsas_issue_tm β send mptsas internal tm request π (yes that's literally it, short and iconic, we love a concise queen)
β¨ SYNOPSIS β¨
int mptsas_issue_tm (MPT_ADAPTER *ioc , u8 type , u8 channel , u8 id ,
u64 lun , int task_context , ulong timeout , u8 *issue_reset );
not me copying that signature exactly because you'd riot if I "cleaned it up" π spacing and all, periodt.
π ARGUMENTS π
okay bestie, eight args, we're going through every single one, no skipping, no cap π₯
iocβ Pointer toMPT_ADAPTERstructure. it's the adapter struct, the main character of this whole story πtypeβ Task Management type. which flavour of task management you're asking for πchannelβ channel number for task management. which channel we're on, iykyk π‘idβ Logical Target ID for reset (if appropriate). note the if appropriate β only sometimes your girl πlunβ Logical unit for reset (if appropriate). same deal, only when it applies π―task_contextβ Context for the task to be aborted. the β¨contextβ¨ of the task getting aborted, rip to that task πtimeoutβ timeout for task management control. how long we're willing to wait, we are NOT waiting forever πissue_resetβ set to1on return if reset is needed, else0. so it comes back telling you whether a reset is needed β1means yes,0means no, slay π
π¦ RETURN π¦
0 on success or -1 on failure. that's it. binary queen. good vibes or the sad vibes, nothing in between πβ¨
π SEE ALSO π
the kernel file lives right here, bestie, go read it fr fr:
- Kernel file
./drivers/message/fusion/mptsas.c
and the whole friend group of sibling pages π«Ά (yes, all of them, I would never leave one out):
mptsas_find_portinfo_by_sas_address(9)mptsas_add_device_component(9)mptsas_add_device_component_by_fw(9)mptsas_add_device_component_starget_ir(9)mptsas_add_device_component_starget(9)mptsas_del_device_component_by_os(9)mptsas_del_device_components(9)mptsas_find_vtarget(9)mptsas_target_reset(9)mptsas_target_reset_queue(9)mptsas_schedule_target_reset(9)mptsas_taskmgmt_complete(9)mptsas_ioc_reset(9)enum device_state(9)mptsas_add_end_device(9)mptsas_del_end_device(9)mptsas_firmware_event_work(9)mptsas_eh_timed_out(9)mptsas_exp_repmanufacture_info(9)mptsas_delete_expander_siblings(9)mptsas_expander_delete(9)mptsas_send_expander_event(9)mptsas_expander_add(9)mptsas_probe_expanders(9)mptsas_scan_sas_topology(9)mptsas_find_phyinfo_by_phys_disk_num(9)mptsas_broadcast_primitive_work(9)
ok that's the whole page, nothing skipped, nothing invented, I would never π
π that's a wrap! this gem lives in ./drivers/message/fusion and it's dated October 2026 β mptsas_issue_tm(9), signing off, mwah πβ¨π¦
π¦ 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