lkml.org 
[lkml]   [2005]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Support multiply-LUN devices in ub
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.

-- Pete
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-02 06:29    [from the cache]
©2003-2011 Jasper Spaans