On Wed, Nov 02, 2005 at 02:39:12PM +0000, Colm MacCarthaigh wrote:
> On Wed, Nov 02, 2005 at 01:34:56PM +0000, Joe Orton wrote:
> > Seems to work OK for me with RHEL4/IA64 (2.6.9-22.0.1.EL) with my normal
> > sendfile test app over loopback.
> >
> > open("6G.sparse", O_RDONLY) = 3
> > fstat(3, {st_mode=S_IFREG|0664, st_size=6442450945, ...}) = 0
> > sendfile(1, 3, [0], 6442450945) = 6442450945
>
> Thanks, I'll try a new kernel/glibc at some point. In the meantime, I think
> doing;
Really I don't think it's right to change the code at all to try to cope
with the Nth latest "sendfile is broken if..." issue. Just
"EnableSendfile off" as should be default.
joe