Re: RFC: sg driver addition: SG_FLAG_SHARED_MMAP_IO

2007-03-22 Thread Arjan van de Ven
On Wed, 2007-03-21 at 22:37 -0400, Douglas Gilbert wrote: > > > In my experience mmap-ed IO using sg's reserve buffer mapped > into the user space is faster than direct IO schemes. However > one shortcoming is that if you try to copy between two devices > using this technique then you end up with

RFC: sg driver addition: SG_FLAG_SHARED_MMAP_IO

2007-03-21 Thread Douglas Gilbert
I mentioned this idea a few weeks ago on this list: namely to allow a sg pass-through request to use the mmap-ed reserve buffer associated with another sg file descriptor. In my experience mmap-ed IO using sg's reserve buffer mapped into the user space is faster than direct IO schemes. However one