Re: [ANNOUNCE] [PATCHES] Advanced TCA Hotswap Support in Linux Kernel

Michael Clark (michael@metaparadigm.com)
Wed, 16 Oct 2002 03:11:23 +0800


On 10/16/02 01:38, Steven Dake wrote:

> At this point, there isn't anything using them. I am working on a
> hotswap manager, that may be in kernel space (for performance reasons)
> that may use these interfaces. I'm also working on a SAFTE Hotswap
> processor module (ie; drivers/scsi/sp.c) for the SCSI subsystem that
> uses these interfaces. (Safte is a hotswap standard for SCSI chassis).

Do you really want to have SAF-TE polling in the kernel?

This can easily be accomplished in userspace using sg.

safte-monitor <http://gort.metaparadigm.com/safte-monitor/> can already
provde disk insertion, removal notifications in userspace and already
supports calling out to a script with the physical slot location information
(and with tweaks to the code, scsi device of the disk inserted)

There is even code in safte-monitor to identify the wwn of the devices
in each slot, although it needs updating to the latest qlogic ioctl
interface (or hbaapi).

~mc

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/