scsi: libsas: fix race of setting phy linkrate with lldd
hulk inclusion
category: bugfix
bugzilla: NA
CVE: NA
---------------------------
The linkrate for direct phys is set by lldd. We should not set it
because the phy event is async with the lldd events.
After commit 24fa9796a5b0 ("{topost} scsi: libsas: re-init the
negotiated_linkrate when phy down v2") has already set this in
sas_phy_disconnected() and this function is directly called by the lldd,
we do not need this in sas_deform_port().
Fixes: 6dd8639f22e5 ("scsi: libsas: re-init the negotiated_linkrate when phy down")
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Reviewed-by: Nzhengbin <zhengbin13@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录