From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: RE: How to add/drop SCSI drives from within the driver? Date: Thu, 06 Jan 2005 09:42:04 -0500 Message-ID: <1105022524.4319.23.camel@mulgrave> References: <0E3FA95632D6D047BA649F95DAB60E57058C01B2@exa-atlanta> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E57058C01B2@exa-atlanta> Sender: linux-kernel-owner@vger.kernel.org To: "Mukker, Atul" Cc: "Bagalkote, Sreenivas" , Matt Domsch , "'Salyzyn, Mark'" , "'brking@us.ibm.com'" , Linux Kernel , SCSI Mailing List , "'bunk@fs.tum.de'" , Andrew Morton , "Ju, Seokmann" , "Doelfel, Hardy" List-Id: linux-scsi@vger.kernel.org On Thu, 2005-01-06 at 09:20 -0500, Mukker, Atul wrote: > For this to happen, the applications must at lease know 'n' in host, > otherwise it will have to trigger a rescan on all controllers. Which would > be an overkill. How about publishing the adapter class attribute as well? > This would allow applications to correlate the adapter handle with the class > attribute. I don't see why not ... it's your driver, you can publish whatever extra information you need as scsi_device attributes; that was one of the designs of the extensible attribute system. > Apologize for the late post, we were evaluating your feedback. It looks > good, thanks! Great ... so the problem is now solved and just needs to be implemented. James