UIO_NOCOPY in smbfs
dillon at apollo.backplane.com
Sat Mar 26 11:14:38 PST 2005
:Still EOPNOTSUPP isnt even mentioned as an error associated with
:sendfile in the man page.
:Wouldnt it be good if sendfile would work on file systems not
:supporting this operation by doing reading and writing the regular way
:(if EOPNOTSUPP is returned), bypassing the "zero copying" feature.
:That wouldnt be too hard to implement and not result in unexpected
:behaviour when using programs like apache and ncftpd on certain file
Yes, I agree, and I don't think it would be too hard to do, either
(but it might be a bit difficult if you've never done kernel work before).
Would you like to take a shot at it?
More information about the Kernel