[OpenAFS-devel] sendfile and splice support in OpenAFS on Linux -> to enable Apache sendfile support

Stephan Wiesand stephan.wiesand@desy.de
Wed, 6 Nov 2013 18:29:40 +0100


Hi Jakub,

On Nov 6, 2013, at 11:06 , Jakub Moscicki wrote:

> Does anyone have experience with enabling sendfile support when =
serving files from AFS by Apache? Can this safely be turned on?

we've been running with the default configuration in this respect on SL5 =
for years. A comment in the httpd.conf from SL5's httpd says that it's =
on by default. If that comment is correct, it's certainly safe - at =
least on SL5 & OpenAFS 1.4.

	Stephan

> The sendfile and splice supports seems to be implemented: =
src/afs/LINUX/osi_vnodeops.c
>=20
> We are on 2.6.32-358 Linux kernel.
>=20
> Many thanks,

--=20
Stephan Wiesand
DESY -DV-
Platanenenallee 6
15738 Zeuthen, Germany