[3270] in linux-scsi channel archive
Re: devfs - SCSI - ZIP test
daemon@ATHENA.MIT.EDU (Richard Gooch)
Sun Feb 8 22:11:10 1998
Date: Mon, 9 Feb 1998 14:08:05 +1100
From: Richard Gooch <rgooch@atnf.CSIRO.AU>
To: dario@milano.europe.dg.com
Cc: linux-scsi@vger.rutgers.edu
In-Reply-To: <199802090132.MAA32000@vindaloo.atnf.CSIRO.AU>
Hi, Dario.
[I wrote]
> Just to give background for people on linux-scsi: the original problem
> which prompted this was that when a SCSI driver is loaded/unloaded
> many times, the SCSI host number increases without each time (until it
> wraps). This is particularly unhelpful with devfs.
>
> To solve this, a simple patch to decrement the host counter when a
> module with the last allocated SCSI number is unloaded would do
> nicely, I think.
Eric Youngdale mentioned that there is a note in drivers/scsi/hosts.c
in which you said "never reuse host_no". Is this restriction still
needed, or can we re-use host numbers now? I'm referring to kernel
2.1.85.
Regards,
Richard....