sendfile() fails in cases where one or both file
descriptors involved are remote. It fails because it
requires a sendpage() operation and this operation is
not supported currently in ssidev_remote_fops(which
defines remote file operations).
The ssidev_remote_fops->sendpage operation currently
returns with -ENOSYS after printing suitable error message.
This needs to be implemented.
Log in to post a comment.