SATA port multipliers and max_channel

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

 



Hi,

I was browsing through the kernel while looking at
https://github.com/systemd/systemd/issues/3943#issuecomment-239608897
and I noticed that in libata-scsi.c shost->max_channel is set to 1.
I'm unsure as to why it's one rather than 0 because it doesn't look
like two channels are used and the code in
http://lxr.free-electrons.com/source/drivers/scsi/scsi_error.c#L1595
loops over the 0th channel.

Further, if a SATA port multiplier is being used aren't channels used
to represent the port multiplier ports
(http://lxr.free-electrons.com/source/drivers/ata/libata-scsi.c?v=4.6#L3726
)? If so does max_channel need to be increased to one less than
SATA_PMP_MAX_PORTS? If so, would this explain the results seen in
https://www.usenix.org/system/files/fastpw13-paper7_0.pdf ?
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux