Re: [PATCH] scsi: scsi_host_queue_ready: increase busy count early
From: Martin Wilck <hidden>
Date: 2021-01-21 23:33:01
From: Martin Wilck <hidden>
Date: 2021-01-21 23:33:01
On Thu, 2021-01-21 at 13:05 +0000, John Garry wrote:
quoted
quoted
Confirmed my suspicions - it looks like the host is sent more commands than it can handle. We would need many disks to see this issue though, which you have. So for stable kernels, 6eb045e092ef is not in 5.4 . Next is 5.10, and I suppose it could be simply fixed by setting .host_tagset in scsi host template there.
If it's really just that, it should be easy enough to verify.
@Donald, you'd need to test with a 5.10 kernel, and after reproducing
the issue, add
.host_tagset = 1,
to the definition of pqi_driver_template in
drivers/scsi/smartpqi/smartpqi_init.c.
You don't need a patch to test that, I believe. Would you able to do
this test?
Regards,
Martin