mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: greg@kroah.com, linux-kernel@vger.kernel.org
Subject: Re: Support multiply-LUN devices in ub
Date: Mon, 2 May 2005 10:45:23 -0700	[thread overview]
Message-ID: <20050502174523.GA23669@one-eyed-alien.net> (raw)
In-Reply-To: <20050501212438.08ae67f1.zaitcev@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

On Sun, May 01, 2005 at 09:24:38PM -0700, Pete Zaitcev wrote:
> On Sun, 1 May 2005 21:05:05 -0700, Matthew Dharm <mdharm-kernel@one-eyed-alien.net> wrote:
> > On Sun, May 01, 2005 at 04:05:40PM -0700, Pete Zaitcev wrote:
> 
> > >  /*
> > > + * This many LUNs per USB device.
> > > + * Every one of them takes a host, see UB_MAX_HOSTS.
> > >   */
> > > +#define UB_MAX_LUNS   4
> > 
> > Why only 4 LUNs?
> 
> This can be redefined at any moment, fortunately, so there's no need to
> agonize over this number. There is no backward or forward compatibility
> problem. The sole purpose of that limit is to make a probe loop bound,
> for initial testing.
> 
> Why would you want more though? I have a 12-in-1 reader which only
> exports 4 LUNs. If someone attached enterprise storage arrays to USB,
> it might be a good idea to remove the limit completely.

I've seen 5 and 6 LUNs, but they aren't common.

The best reading of the specs suggest that 8 is the practical limit.

Since that's not far from 4, perhaps it would be best to set the number to
8 so we never have to revisit it again.

Matt

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

Hey, has anyone seen the Microsoft sales guy? It's his feeding time...
					-- Mike
User Friendly, 4/17/1998

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-05-02 17:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-01 23:05 Pete Zaitcev
2005-05-02  4:05 ` Matthew Dharm
2005-05-02  4:24   ` Pete Zaitcev
2005-05-02 16:27     ` Valdis.Kletnieks
2005-05-02 17:45     ` Matthew Dharm [this message]
2005-05-02 18:55       ` Pete Zaitcev
2005-05-02 23:04 ` Greg KH
2005-06-02 16:56   ` Pete Zaitcev
2005-06-02 19:37     ` Greg KH
2005-06-03  1:39       ` Pete Zaitcev

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=20050502174523.GA23669@one-eyed-alien.net \
    --to=mdharm-kernel@one-eyed-alien.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zaitcev@redhat.com \
    /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

all inboxes | Powered by JetHome®