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 two separate mmap-ed > buffers in the user space program. Then the user space program > needs to copy between the two buffers which would defeat much > of the advantage of the mmap-ed IO. You could (and sgm_dd in > sg3_utils does) use mmap-ed IO on the read side and direct IO > on the write side (or vice versa). on question; does your patch also make the block layer sg support this? And if not, why not? (I would think sg and block layer sg should converge not diverge) (I would look but your attachement is gzipd for some reason) -- if you want to mail me at work (you don't), use arjan (at) linux.intel.com Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org - 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