Re: [PATCH V3 0/3] scsi: three SG_CHAIN related fixes

2019-06-09 Thread Ming Lei
Hi Finn, On Fri, Jun 07, 2019 at 11:02:36AM +1000, Finn Thain wrote: > On Thu, 6 Jun 2019, Martin K. Petersen wrote: > > > > > Ming, > > > > > Guenter reported scsi boot issue caused by commit c3288dd8c232 ("scsi: > > > core: avoid pre-allocating big SGL for data"). > > > > Applied to 5.3/scsi

Re: [PATCH V3 0/3] scsi: three SG_CHAIN related fixes

2019-06-06 Thread Finn Thain
On Thu, 6 Jun 2019, Martin K. Petersen wrote: > > Ming, > > > Guenter reported scsi boot issue caused by commit c3288dd8c232 ("scsi: > > core: avoid pre-allocating big SGL for data"). > > Applied to 5.3/scsi-queue, thank you! > Thanks, that seems to fix the esp_scsi regression. Am I right in

Re: [PATCH V3 0/3] scsi: three SG_CHAIN related fixes

2019-06-06 Thread Martin K. Petersen
Ming, > Guenter reported scsi boot issue caused by commit c3288dd8c232 ("scsi: > core: avoid pre-allocating big SGL for data"). Applied to 5.3/scsi-queue, thank you! -- Martin K. Petersen Oracle Linux Engineering

[PATCH V3 0/3] scsi: three SG_CHAIN related fixes

2019-06-06 Thread Ming Lei
Hi, Guenter reported scsi boot issue caused by commit c3288dd8c232 ("scsi: core: avoid pre-allocating big SGL for data"). Turns out there are at least three issues. The 1st patch fixes sg_alloc_table_chained() which may try to use the pre-allocation SGL even though user passes zero to 'nents_fir