On 2018/3/26 22:38, Dan Williams wrote:
On Mon, Mar 26, 2018 at 2:27 AM, Jason Yan <yanai...@huawei.com> wrote:
Now ata devices attached with sas controller do not have transport
class, so that we can not see any information of these ata devices in
/sys/class/ata_port(or ata_link or ata_device).
Add transport class for the ata devices attached with sas controller.
The /sys/class directory will show the infomation of the ata devices
as follows:
localhost:/sys/class # ls ata*
ata_device:
dev1.0 dev2.0
ata_link:
link1 link2
ata_port:
ata1 ata2
No functional change of the device scanning and io path. The ata
transport class was deleted when destroying the sas devices.
Have you tested this with suspend / resume power management? I believe
that is what stopped me from going down this path, when I first
evaluated it.
Thanks a lot, I will test it with suspend/resume power management later.