Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 15 Oct 2002 15:20:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 15 Oct 2002 15:20:45 -0400 Received: from fw-az.mvista.com ([65.200.49.158]:508 "EHLO zipcode.az.mvista.com") by vger.kernel.org with ESMTP id ; Tue, 15 Oct 2002 15:20:39 -0400 Message-ID: <3DAC6C7B.1080205@mvista.com> Date: Tue, 15 Oct 2002 12:28:59 -0700 From: Steven Dake User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Clark CC: Greg KH , linux-kernel@vger.kernel.org Subject: Re: [ANNOUNCE] [PATCHES] Advanced TCA Hotswap Support in Linux Kernel References: <3DAB1007.6040400@mvista.com> <20021015052916.GA11190@kroah.com> <3DAC52A7.907@mvista.com> <3DAC685B.9070102@metaparadigm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1625 Lines: 51 Michael Clark wrote: > 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? Good code thanks for the pointer. When I searched months ago, there wasn't anything out there. Safte polling in the kernel isn't inherently bad and could be tied into the hotplug mechanism. Making SAFTE hotswap available via SG would also work but system performance would be bad at small poll intervals (like 100 msec). Thanks -steve > > This can easily be accomplished in userspace using sg. > > 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/