On Sun, May 01, 2005 at 09:24:38PM -0700, Pete Zaitcev wrote: > On Sun, 1 May 2005 21:05:05 -0700, Matthew Dharm <[email protected]> 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: [email protected] 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:
pgpEXrCy8ODpj.pgp
Description: PGP signature
- Follow-Ups:
- Re: Support multiply-LUN devices in ub
- From: Pete Zaitcev <[email protected]>
- Re: Support multiply-LUN devices in ub
- References:
- Support multiply-LUN devices in ub
- From: Pete Zaitcev <[email protected]>
- Re: Support multiply-LUN devices in ub
- From: Pete Zaitcev <[email protected]>
- Support multiply-LUN devices in ub
- Prev by Date: Re: Mercurial 0.4b vs git patchbomb benchmark
- Next by Date: Re: IDE problems in 2.6.12-rc1-bk1 onwards (was Re: 2.6.12-rc3-mm1)
- Previous by thread: Re: Support multiply-LUN devices in ub
- Next by thread: Re: Support multiply-LUN devices in ub
- Index(es):