This patch set retrieves the number of LUs available on a target
using the report-luns command.  The initial size of the report-luns
command is 512 entries, as the previous default initial number was.
If more LUs than 511 are present on a target, the report-luns is
re-issued with the size indicated in the result of the original
report-luns, up to max_report_luns.

The default value of max_report_luns is increased to 16k-1 from 512-1.

Some warnings were detected by checkpatch.pl.  Requested feedback
from the maintainer but none provided.

Rob Evers (2):
  Encapsulate scsi_do_report_luns
  Configure reported luns

 drivers/scsi/scsi_scan.c | 186 +++++++++++++++++++++++++++++------------------
 1 file changed, 116 insertions(+), 70 deletions(-)

-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to