Kernel 2.6.23 does away with the sendfile method of struct
file_operations, and instead implements sendfile() using the
splice_write and splice_read methods introduced in 2.6.17.  OpenAFS does
not implement these methods, and as a result, sendfile() out of AFS
returns EINVAL.  This makes Apache serve blank pages from an AFS
docroot, unless you turn EnableSendfile Off.

Here is an OpenAFS patch to implement splice_write and splice_read:
<http://anders.kaseorg.com/pub/patches/openafs-splice.patch>

Anders


_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to