public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* increasing host numbers
@ 2003-06-24  8:16 Douglas Gilbert
  2003-06-24 11:43 ` Christoph Hellwig
  0 siblings, 1 reply; 3+ messages in thread
From: Douglas Gilbert @ 2003-06-24  8:16 UTC (permalink / raw)
  To: SCSI Mailing List

It seems as though host numbers are no longer re-used.
This pattern started in lk 2.5.73:

# lsscsi
[0:0:1:0]    disk    FUJITSU  MAM3184MP        0106  /dev/sda
# modprobe scsi_debug
# lsscsi
[0:0:1:0]    disk    FUJITSU  MAM3184MP        0106  /dev/sda
[2:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb
# rmmod scsi_debug
# modprobe scsi_debug
# lsscsi
[0:0:1:0]    disk    FUJITSU  MAM3184MP        0106  /dev/sda
[3:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb
# rmmod scsi_debug
# modprobe scsi_debug
# lsscsi
[0:0:1:0]    disk    FUJITSU  MAM3184MP        0106  /dev/sda
[4:0:0:0]    disk    Linux    scsi_debug       0004  /dev/sdb

Feature?

Doug Gilbert



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: increasing host numbers
  2003-06-24  8:16 increasing host numbers Douglas Gilbert
@ 2003-06-24 11:43 ` Christoph Hellwig
  2003-06-24 16:04   ` Matthew Dharm
  0 siblings, 1 reply; 3+ messages in thread
From: Christoph Hellwig @ 2003-06-24 11:43 UTC (permalink / raw)
  To: Douglas Gilbert; +Cc: SCSI Mailing List

On Tue, Jun 24, 2003 at 06:16:58PM +1000, Douglas Gilbert wrote:
> It seems as though host numbers are no longer re-used.
> This pattern started in lk 2.5.73:

So far this was intentional, so I'd call it a feature.  If you think
this is not good we can add some kind of bitmap to get free host number.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: increasing host numbers
  2003-06-24 11:43 ` Christoph Hellwig
@ 2003-06-24 16:04   ` Matthew Dharm
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Dharm @ 2003-06-24 16:04 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Douglas Gilbert, SCSI Mailing List

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

On Tue, Jun 24, 2003 at 12:43:27PM +0100, Christoph Hellwig wrote:
> On Tue, Jun 24, 2003 at 06:16:58PM +1000, Douglas Gilbert wrote:
> > It seems as though host numbers are no longer re-used.
> > This pattern started in lk 2.5.73:
> 
> So far this was intentional, so I'd call it a feature.  If you think
> this is not good we can add some kind of bitmap to get free host number.

Is there any danger of 'running out'?  i.e is rollover handled properly?

Matt

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

I need a computer?
					-- Customer
User Friendly, 2/19/1998

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-24 15:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-24  8:16 increasing host numbers Douglas Gilbert
2003-06-24 11:43 ` Christoph Hellwig
2003-06-24 16:04   ` Matthew Dharm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox