lkml.org 
[lkml]   [2009]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectO_DIRECT splice from PCI-resident buffer to filesystem
Hi,

After some work, and kernel hacking, and thanks to Jens'
O_DIRECT/blockio splicing
patch, I have been successful in using splice to transfer data directly
from a buffer
resident on a PCI device to a raw disk partition, with zero copies. Great!
Can anyone tell me if it is feasible to transfer data in the same way,
using splice
to a file, on a filesystem, instead of a raw block device with zero
copies? Looking at
the code, it appears that the data is copied using memcpy, no matter what.

Thanks,

-Steve



\
 
 \ /
  Last update: 2009-05-29 20:59    [W:0.039 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site