RE: How to add/drop SCSI drives from within the driver?
From: Mukker, Atul (Atulm_at_lsil.com)
Date: 12/09/04
- Previous message: Limin Gu: "Re: [RFC][PATCH] jobfs - new virtual filesystem for job kernel/user"
- Maybe in reply to: Bagalkote, Sreenivas: "How to add/drop SCSI drives from within the driver?"
- Next in thread: 'Patrick Mansfield': "Re: How to add/drop SCSI drives from within the driver?"
- Reply: 'Patrick Mansfield': "Re: How to add/drop SCSI drives from within the driver?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "'Patrick Mansfield'" <patmans@us.ibm.com> Date: Thu, 9 Dec 2004 12:31:37 -0500
> > 8. So, all driver has to do to assist applications is to
> provide the
> > logical drive number to scsi address mapping. Application
> would say,
> > hey! I added/removed logical drive number 5, driver
> reverts, here is
> > the scsi address for it "host:2, channel:5, target:5 lun:0" :-)
>
> 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.
>
> 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
>
> Though I am all for using hotplug to initiate scanning from
> user space.
good
-
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: Limin Gu: "Re: [RFC][PATCH] jobfs - new virtual filesystem for job kernel/user"
- Maybe in reply to: Bagalkote, Sreenivas: "How to add/drop SCSI drives from within the driver?"
- Next in thread: 'Patrick Mansfield': "Re: How to add/drop SCSI drives from within the driver?"
- Reply: 'Patrick Mansfield': "Re: How to add/drop SCSI drives from within the driver?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]