mpi3mr_sastopochg_evt_th(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mpi3mr_sastopochg_evt_th(9)

okay so bestie, welcome to the Kernel API Manual page for mpi3mr_sastopochg_evt_th β€” yes that's a mouthful, no we're not renaming it, and yes it's iconic in a deeply unhinged kernel-driver way. this is the tophalf of the SASTopologyChange event handling. it's giving "the first person to touch the event before the bottom half does the real work." 🌸


✨ NAME ✨

mpi3mr_sastopochg_evt_th β€” the SASTopologyChange evt tophalf. that's it. that's the name. periodt. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void mpi3mr_sastopochg_evt_th (struct mpi3mr_ioc *mrioc , struct
mpi3_event_notification_reply *event_reply );

returns void, so like… nothing comes back. it just does things. main character energy fr fr. πŸ’…


πŸ“ ARGUMENTS πŸ“

  • mrioc β€” Adapter instance reference. think of it as the driver's whole personality β€” the controller it's representing. πŸ‘‘
  • event_reply β€” event data. this is the actual notification the firmware handed over, and it's what the function snoops through for the reason code. πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so here's the vibe: this bad boy checks the reason code, and based on what it finds it does one of three things β€” and no, it's not gonna tell you which, it just picks:

  • block I/O to the device, or
  • unblock I/O to the device, or
  • start the device removal handshake with the reason as remove, with the firmware, for SAS/SATA devices.

that's the whole tophalf. reason code in, one of those three actions out. iykyk. ✨


🌈 RETURN 🌈

Nothing. void bestie. it returns nothing at all. don't go looking for a status code, there isn't one. 😭


⭐ SEE ALSO ⭐

the kernel file first, obviously:

  • <green>Kernel file ./drivers/scsi/mpi3mr/mpi3mr_os.c</green>

and now the entire extended friend group β€” every single one of these, no cap:


kisses bestie, that's the whole page πŸ’‹ β€” this one came out of the source tree at ./drivers/scsi/mpi3mr, dated October 2026, and it's part of the Kernel API Manual. go read the bottom half next, it's the one that actually does cardio. 🫢

πŸ“¦ where this page comes from