scsi: hisi_sas: Feed back linkrate(max/min) value after modified each time at...
scsi: hisi_sas: Feed back linkrate(max/min) value after modified each time at directly attached situation At directly attached situation,user modify the sysfs interface of maximum_linkrate and minimum_linkrate to renegotiate the linkrate between sas controller and sas/sata disk. The value of both files mentioned above should have change to user setting after renegotiate is over,but it remain unchanged. To fix this bug, maximum_linkrate and minimum_linkrate will be directly feed back to upper layer by synchronize those value to hisi_hab->phy[phy_no]->sas_phy->phy when receive the request of renegotiate This bug is introduced by the patch <757db2da>"scsi:hisi_sas:introduce hisi_sas_phy_set_linkrate()" and now have been fixed. Signed-off-by: Nluojiaxing <luojiaxing@huawei.com> Signed-off-by: Njohn Garry <john.garry@huawei.com>
Showing
想要评论请 注册 或 登录