sas_rediscover(9)
β¨ 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 π¦
- Kernel file
./drivers/scsi/libsas/sas_expander.c sas_ex_discover_devices(9)sas_configure_parent(9)sas_configure_routing(9)sas_discover_expander(9)sas_find_bcast_dev(9)sas_ex_revalidate_domain(9)
π signed, sealed, and slayed by ./drivers/scsi/libsas β October 2026 β for sas_rediscover(9) π«Άπ
π¦ 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