Enable persistent topology across power cycles/firmware resets.
Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I have no objections. Just few thoughts inline. It would help if you describe it a bit more in description, so we would not have to guess what it should do.
sys/dev/ocs_fc/ocs_xport.c | ||
---|---|---|
399 | If I read this right, setting topology with tunable once will make it persistent, and it will remain so even when tunable is later removed until I guess it is reset to auto via sysctl? | |
sys/dev/ocs_fc/sli4.c | ||
818 | Why this branching is needed at all? Why not just assign enable_topology_failover always? | |
882 | As I see return value of this and at least few other functions I checked is only used as boolean. Just a bit odd. |
sys/dev/ocs_fc/ocs_xport.c | ||
---|---|---|
399 | Yes, topology will be persistent across reboots until changed via sysctl/module param. The persistent topology feature helps the emulex adapter BIOS to set the same topology. | |
sys/dev/ocs_fc/sli4.c | ||
818 | Will change it to assign tf directly. | |
882 | Yes, most of the SLI interface function had this issue. I will take that task in a different patch. |