Re: [PATCH v3] storvsc: use small sg_tablesize on x86
From: Martin K. Petersen
Date: Tue Jun 14 2016 - 22:07:28 EST
>>>>> "Olaf" == Olaf Hering <olaf@xxxxxxxxx> writes:
Olaf> On Thu, Jun 09, James Bottomley wrote:
>> On Thu, 2016-06-09 at 18:25 +0200, Olaf Hering wrote:
>> > Reducing the sg_tablesize allows booting of 32bit kernels in VMs, >
>> after > commit be0cf6ca301c61458dc4aa1a37acf4f58d2ed3d6 ("scsi:
>> storvsc: Set > the > tablesize based on the information given by the
>> host")
>> >
>> > [ 5.567138] hv_storvsc vmbus_1: adjusting sg_tablesize 0x800 -> >
>> 0x20
>>
>> Are you really sure 32 is the correct size?
Olaf> Its a size that works, while the current state does not work at
Olaf> all.
>> I know 32 it what it had before, but the reason for the commit you
>> quote was to improve performance ...
Olaf> The commit above broke 32bit. Whoever wants to improve performance
Olaf> on this dead horse can submit another patch.
K.Y.?
--
Martin K. Petersen Oracle Linux Engineering