Patent ID: 8782298

Claim:
A computer-implemented method for adjusting physical links of serial attached small computer system interface (SAS) expanders of a computing device, the SAS expanders comprising a first SAS expander and one or more second SAS expanders, the method comprising: (a) detecting whether data flow of physical links of the first SAS expander for transmitting data to a second SAS expander connected to the first SAS expander is saturated; (b) determining whether the first SAS expander has reserved physical links that can be adjusted when the data flow of the physical links of the first SAS expander for transmitting data to the second SAS expander is saturated; (c) determining a reserved physical link to be adjusted from the reserved physical links, obtaining configuration parameters of the adjusted physical link, and setting address information of the configuration parameters as an address of the second SAS expander when the first SAS expander has reserved physical links that can be adjusted; (d) modifying the configuration parameters of the adjusted physical link, generating a new firmware according to the modified configuration parameters, and adjusting the adjusted physical link to the second SAS expander by writing the new firmware to the first SAS expander; and (e) generating a control signal to a diverter switch that connects to the SAS first expander and the second SAS expander, and controlling the diverter switch to adjust the adjusted physical link to the second SAS expander according to the control signal.