Re: How to add/drop SCSI drives from within the driver?
From: 'Patrick Mansfield' (patmans_at_us.ibm.com)
Date: 12/09/04
- Previous message: Marcelo Tosatti: "Re: [BUG ?] smbfs open always succeeds"
- In reply to: Mukker, Atul: "RE: How to add/drop SCSI drives from within the driver?"
- Next in thread: Bagalkote, Sreenivas: "RE: How to add/drop SCSI drives from within the driver?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 9 Dec 2004 10:00:37 -0800 To: "Mukker, Atul" <Atulm@lsil.com>
On Thu, Dec 09, 2004 at 12:31:37PM -0500, Mukker, Atul wrote:
> > How does the driver supply the mapping if it does not know
> > about the "change"? Is it reserving or telling user space the
> > hctl that will be used?
> This point was thoroughly explained in my previous post item 2. Yes, driver
> reserves a virtual bus on which all logical drives would be exported.
OK ...
> > If so, why can't the driver call scsi_add_device(h,c,t,l)
> > after the ioctl to create the logical drive completes?
> This idea was already turned down, see mails on linux-scsi on 12/3
Well you can call scsi_add_device() from the driver, the objections I saw
were to add an ioctl that would just call scsi_add_device().
But it doesn't matter if adding driver post-ioctl specific actions is not
an option.
-- Patrick Mansfield
-
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/
- Previous message: Marcelo Tosatti: "Re: [BUG ?] smbfs open always succeeds"
- In reply to: Mukker, Atul: "RE: How to add/drop SCSI drives from within the driver?"
- Next in thread: Bagalkote, Sreenivas: "RE: How to add/drop SCSI drives from within the driver?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|