linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] configure number of LUs reported by 'report-luns'
@ 2013-01-28 20:27 Rob Evers
  2013-01-28 20:27 ` [PATCH 1/2] Encapsulate scsi_do_report_luns Rob Evers
  2013-01-28 20:27 ` [PATCH 2/2] Configure reported luns Rob Evers
  0 siblings, 2 replies; 5+ messages in thread
From: Rob Evers @ 2013-01-28 20:27 UTC (permalink / raw)
  To: linux-scsi

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-04 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 20:27 [PATCH 0/2] configure number of LUs reported by 'report-luns' Rob Evers
2013-01-28 20:27 ` [PATCH 1/2] Encapsulate scsi_do_report_luns Rob Evers
2013-01-28 20:27 ` [PATCH 2/2] Configure reported luns Rob Evers
2013-02-01  7:44   ` Mike Christie
2013-02-04 16:17     ` Rob Evers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).