linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Evers <revers@redhat.com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH 0/2] configure number of LUs reported by 'report-luns'
Date: Mon, 28 Jan 2013 15:27:52 -0500	[thread overview]
Message-ID: <1359404874-30871-1-git-send-email-revers@redhat.com> (raw)

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


             reply	other threads:[~2013-01-28 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 20:27 Rob Evers [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1359404874-30871-1-git-send-email-revers@redhat.com \
    --to=revers@redhat.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).