3 ms·
It used to. But this emulation worked by doing set_fs() so that the internal (outdated) read/write implementation could follow a pointer into kernel memory, and
by amluto 4y ago
It used to. But this emulation worked by doing set_fs() so that the internal (outdated) read/write implementation could follow a pointer into kernel memory, and that facility is gone now.
- teraflop 4y agoAh, I think I get it. So the problem isn't just that these drivers don't specifically support splice() -- it's that they also only support reading/writing with userspace buffers, and set_fs() was just a hack around that limitation that is no longer supported. That's kind of unfortunate.
- amluto 4y agoCorrect. The modern interface supports reading and writing from a rather generic concept of a buffer, and drivers that support that are usable with splice().