Re: [PATCH] scsi: libsas: add transport class for ATA devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 26, 2018 at 05:27:41PM +0800, Jason Yan 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.
> 
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>
> CC: Dan Williams <dan.j.williams@xxxxxxxxx>
> CC: Tejun Heo <tj@xxxxxxxxxx>

Looks good to me on the ata side.

 Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

-- 
tejun



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux