Re: sendfile() syscall on 68k with 2.4.27 kernel
On Sun, Nov 19, 2006 at 06:48:51AM +0100, Goswin von Brederlow wrote:
> Bill Allombert <allomber@math.u-bordeaux.fr> writes:
>
> Sendfile should be but sendfile64 is not I believe. I guess you use
> _FILE_OFFSET_BITS=64 and then sendfile() is aliaed to sendfile64()?
>
> Sendfile was introduced in linux 2.2 while sendfile64 came late in
> 2.4.x and only for some archs. libapr (used by apache) had the same
> problem recently failing to send any files on some archs due to
> sendfile64().
Thanks for you explanation.
apache2-mpm-itk seems to be affected as well.
> I see a patch in #330871 that switches back to non-sendfile I/O. Any
> problems with that?
No problem, it works fine.
Cheers,
Bill.
Reply to: