Re: RFC: SCSI Generic version 4 interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jeremy Linton <jli@xxxxxxxxxxxxxxxxxx>
Subject: Re: RFC: SCSI Generic version 4 interface
Date: Wed, 8 Nov 2006 10:48:01 -0600

> 
> 
> 
> On Monday 06 November 2006 15:47, Douglas Gilbert wrote:
> > I was asked to put together a proposal in May this
> > year for a new SCSI Generic interface structure. This
> 
> > Feel free to make suggestions.
> 	OK...
> 
> 	A unified multiple device mmap buffer interface for would probably be useful 
> as well. This is to get around the problems inherent in the current design 
> that keep more than one device from using a mmap/reserve buffer allocated for 
> another device. 
> 	What I would personally like to be able to do with the SG interface is have a 
> shared memory region where I can kick off a few dozen tagged commands to a 
> device, get notification when they have completed and then send a similar 
> command to a second device, all without involving the CPU in any copy 
> operations, or too many page management operations.
> 	In my dream world this would require some kind of tagging of commands as well 
> so I don't have to handle a bunch of async completions for commands in a 
> group that need to complete as a group.

Sounds like it's quite similar to what the target code (tgt) is doing
with its own ring buffer interface.

As discussed months ago, tgt has a lot in common with sg. We would
like to have the new sg flexible enough to handle various messages
that tgt needs. This will also require lots of changes to the block
layer functions to map user-space pages.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux