Re: [PATCH 0/7] hisi_sas: Misc bugfixes and an optimisation patch

From: John Garry
Date: Fri Oct 12 2018 - 06:47:22 EST


On 11/10/2018 02:58, Martin K. Petersen wrote:

John,


Hi Martin,

However it does block us in future from enabling SCSI MQ in the driver.

We're going to remove the legacy I/O path so I'm not particularly keen
on merging something that's going in the opposite direction.

What I really meant was that we cannot expose multiple queues to upper layer, and nothing related to legacy IO path.


This is because the IPTT index must be a unique value per HBA. However,
if we switched to SCSI MQ, the block layer tag becomes unique per queue,
and not per HBA.

That doesn't sound right.


Again, my wording my probably was not accurate. I meant that rq tag is not unqiue across all hw queues.

As I mentioned in the thread that spawned from this, we actually can't expose multiple hw queues at the moment. And, if we did, we find a performance drop due to having to go back to manage this IPTT internally.

So how to handle? We're going to continue to work towards exposing multiple queues to upper layer, but for the moment I think patch 6/7 is a good change.

Please let me know.

Thanks,
John