From: Steve Rottinger <steve@pentek.com>
To: linux-kernel@vger.kernel.org
Subject: O_DIRECT splice from PCI-resident buffer to filesystem
Date: Fri, 29 May 2009 14:56:51 -0400 [thread overview]
Message-ID: <4A202FF3.2090600@pentek.com> (raw)
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
next reply other threads:[~2009-05-29 18:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 18:56 Steve Rottinger [this message]
2009-06-03 10:25 ` O_DIRECT splice from PCI-resident buffer to filesystem Leon Woestenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A202FF3.2090600@pentek.com \
--to=steve@pentek.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.