Re: [PATCH V5 3/3] scsi: Retry report-luns when reported LU count requres more memory

2014-12-15 Thread Christoph Hellwig
On Fri, Dec 05, 2014 at 02:37:43PM -0500, Rob Evers wrote: > Update scsi_report_lun_scan to initially always report up to 511 LUs, > as the previous default max_report_luns did. Retry in a loop if not > enough memory is available for the number of LUs reported. Parameter > max_report_luns is remo

[PATCH V5 3/3] scsi: Retry report-luns when reported LU count requres more memory

2014-12-05 Thread Rob Evers
Update scsi_report_lun_scan to initially always report up to 511 LUs, as the previous default max_report_luns did. Retry in a loop if not enough memory is available for the number of LUs reported. Parameter max_report_luns is removed as it is no longer used. --- drivers/scsi/scsi_scan.c | 43 +++