public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Patrick Mansfield <patmans@us.ibm.com>
To: Anton Blanchard <anton@samba.org>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH] remove MULTI_LUN config option
Date: Wed, 3 Sep 2003 14:21:17 -0700	[thread overview]
Message-ID: <20030903142117.A5715@beaverton.ibm.com> (raw)
In-Reply-To: <20030902021145.GC1941@krispykreme>; from anton@samba.org on Tue, Sep 02, 2003 at 12:11:45PM +1000

Anton -

On Tue, Sep 02, 2003 at 12:11:45PM +1000, Anton Blanchard wrote:

> Hi,
> 
> We already have a module_param to limit how many LUNs we scan, so I
> think we can remove the config option. It means one less config option
> to worry about.
> 
> Anton
> 

> diff -Nru a/drivers/scsi/scsi_scan.c b/drivers/scsi/scsi_scan.c
> --- a/drivers/scsi/scsi_scan.c	Tue Sep  2 10:20:06 2003
> +++ b/drivers/scsi/scsi_scan.c	Tue Sep  2 10:20:06 2003
> @@ -68,11 +68,7 @@
>  
>  #define MAX_SCSI_LUNS	512
>  
> -#ifdef CONFIG_SCSI_MULTI_LUN
>  static unsigned int max_scsi_luns = MAX_SCSI_LUNS;
> -#else
> -static unsigned int max_scsi_luns = 1;
> -#endif

The above defaulted to 1 because there are broken devices (unknown what
vendors and models) that hang when anything other than LUN 0 is probed.
Defaulting to 1 means such systems might no longer boot.

There was a post from Alan (or Doug L?)  about this some time back.

-- Patrick Mansfield

      parent reply	other threads:[~2003-09-03 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02  2:11 [PATCH] remove MULTI_LUN config option Anton Blanchard
2003-09-02  2:31 ` Jeff Garzik
2003-09-02 18:20   ` Anton Blanchard
2003-09-03 21:21 ` Patrick Mansfield [this message]

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=20030903142117.A5715@beaverton.ibm.com \
    --to=patmans@us.ibm.com \
    --cc=anton@samba.org \
    --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