sas_rediscover(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨ β€” sas_rediscover(9)

okay bestie, this is sas_rediscover(9) from the Kernel API Manual, and it is literally here to revalidate the domain. πŸ’…βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

int sas_rediscover (struct domain_device *dev , const int phy_id );

🌸 ARGUMENTS 🌸

  • dev β€” the domain device to be detect. πŸ‘€
  • phy_id β€” the phy id will be detected. πŸ”

🫢 NOTE 🫢

okay so here's the part that is not a vibe to ignore, bestie: this process _must_ quit (return) as soon as any connection errors are encountered. 🚨 Like, immediately. No cap.

Connection recovery is done elsewhere. πŸ’…

Discover process only interrogates devices in order to discover the domain. That's the whole assignment. 🎯

For plugging out, we un-register the device only when it is the last phy in the port; for other phys in this port, we just delete it from the port. 🫑

For inserting, we do discovery when it is the first phy; for other phys in this port, we add it to the port to forming the wide-port. 🧚✨


πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’– signed, sealed, and slayed by ./drivers/scsi/libsas β€” October 2026 β€” for sas_rediscover(9) πŸ«ΆπŸ‘‘

πŸ“¦ where this page comes from