mptsas_issue_tm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to MPT_ADAPTER structure. 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 to 1 on return if reset is needed, else 0. so it comes back telling you whether a reset is needed β€” 1 means yes, 0 means 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):


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