Skip to contentSkip to conversation

increasing host numbers

DISCUSSION Douglas Gilbert 3 participants 3 messages Jun 24, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 2 lines · Douglas Gilbert

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.

#2 lore raw
Quoted 6 lines · Christoph Hellwig
Quoted 2 lines · Douglas Gilbert

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

Signature · 6 lines
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

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