Jeff Garzik wrote:
Well... The limiting factor is "ATA command slots per SATA phy", which
defines $N active ATA commands per port. If a SATA NCQ device is
attached, you may have $N active ATA commands queued. If two SATA NCQ
devices are attached to a PMP, which is attached to the SATA controller,
the two devices share the limit of $N active ATA commands queued. If 32
devices are attached to a PMP, all 32 devices share the $N command queue
limit.
But additionally, as Tejun demonstrated, you might have a mix of NCQ and
non-NCQ devices attached to the PMP.
Thus, it is a case of nested limits:
- $N maximum active commands per port; typically N==32
- $M maximum active commands per device; typically N==1 or N==32
Note that this applies /somewhat/ to mvsas as well: mvsas has up to 16
"ATA register sets" that the OS driver may assign to various ATA devices
on a single phy.
This simulates the "command slot" concept on dedicated SATA+PMP+NCQ
hardware like AHCI or sata_sil24.
If you attach more than 16 ATA devices to a PMP, which is theoretically
possible, then mvsas MUST fail discovery, because it cannot address that
many ATA devices.
But mvsas's different architecture means that it does not have similar
"command slot" limits.
Jeff
--
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