[pnfs] [PATCH 05/28] pnfsblock: expose scsi interface
Jason Glasgow
jglasgow at aya.yale.edu
Wed Mar 12 13:52:17 EDT 2008
Christoph,
Putting device discovery in user space a valid alternative implementation,
and we will pursue that model.
-Jason
On Wed, Mar 12, 2008 at 12:43 PM, Christoph Hellwig <hch at infradead.org>
wrote:
> On Wed, Mar 12, 2008 at 06:33:34PM +0200, Benny Halevy wrote:
> > This calls for a layering violation.
> >
> > To fill-in more context, here's an excerpt from the next patch,
> > showing how you use shost_class to scan all scsi disks:
>
> Yes, absolutely. No one outside of few places in the core scsi code
> should ever iterate over the scsi disks.
>
> > My question is how should a proper API between the scsi layer and
> > the block layout driver look like?
> >
> > Can you list your requirements, e.g.:
> > - scanning all available devices,
> >
> > - discovering new devices on the fly
> >
> > - getting notified for new devices?
>
> Neither. pnfs shouldn't open block devices from kernelspace at all,
> but do it's disovery in userspace.
>
> Or even better this whole block layout driver crap should go away
> completely and the people who have designed it beaten up until they
> aren't recognizable anymore.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/pnfs/attachments/20080312/450f60ed/attachment.htm
More information about the pNFS
mailing list