Thanks Martin,
Am 06.11.2019 um 18:46 schrieb Martin K. Petersen:
Michael,
In scsi_mq_setup_tags(), cmd_size is calculated based on zero size
for the scatter-gather list in case the low level driver uses SG_NONE
in its host template.
Applied to 5.4/scsi-fixes. I picked your version since it is small.
I realize it's more of a band-aid and doesn't address the real issue
perhaps. Maybe it gives someone with a better clue about the block layer
some idea though (I got out of my depth rather quickly).
I still intend to queue Finn's SG_NONE cleanups for 5.5. In a way these
are orthogonal.
Either zero or one work for sg_tablesize in my case, so that's perfectly
fine by me.
Cheers,
Michael
Thanks!