Re: [PATCH] scsi: scsi-lib.c: increase cmd_size by sizeof(struct scatterlist)

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

 



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!




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux