qla2300 & mptscsih refcount, or lack thereof

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks,
	I've run into an interesting problem.  The qla2300 and
mptspi drivers don't get refcounted for active users, but they are
absolutely required.  Thus, you can do, eg, "rmmod qla2300" with mounted
filesystems, and your system happily removes all child devices.
Hello, EIO!
	Now, I know we're well into "Doctor, it hurts when I do this,"
territory here.  But we generally try not to allow this sort of mistake.
You can't remove a network card while the interface is up, you can't
remove sd_mod while a disk is in use, etc.
	Has this been seen before?  Is there any plan to make qla2300
and mptspi respect the use count of the objects they present to the
system?  Thoughts?

Joel

-- 

Life's Little Instruction Book #222

	"Think twice before burdening a friend with a secret."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux