Followup to: <[EMAIL PROTECTED]> By author: Matti Aarnio <[EMAIL PROTECTED]> In newsgroup: linux.dev.kernel > > One thing about 'sendfile' (and likely 'sendpath') is that > current (hammered into running binaries -> unchangeable) > syscalls support only up to 2GB files at 32 bit systems. > > Glibc 2.2(9) at RedHat <sys/sendfile.h>: > > #ifdef __USE_FILE_OFFSET64 > # error "<sendfile.h> cannot be used with _FILE_OFFSET_BITS=64" > #endif > > I do admit that doing sendfile() on some extremely large > file is unlikely, but still... > 2 GB isn't really that extremely large these days. This is an unpleasant limitation. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Is sendfile all that sexy? Gerhard Mack
- Re: Is sendfile all that sexy? Linus Torvalds
- Re: Is sendfile all that sexy? J Sloan
- Re: Is sendfile all that sexy? H. Peter Anvin
- Re: Is sendfile all that sexy? Michael Peddemors
- Re: Is sendfile all that sexy? Florian Weimer
- RE: Is sendfile all that sexy? Tristan Greaves
- Re: Is sendfile all that sexy? Dan Hollis
- Re: Is sendfile all that sexy? Jonathan Thackray
- Re: Is sendfile all that sexy? Matti Aarnio
- Re: Is sendfile all that sexy? H. Peter Anvin
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Jonathan Thackray
- Re: Is sendfile all that sexy? Linus Torvalds
- [patch] sendpath() support, 2.4.0-test3... Ingo Molnar
- Re: [patch] sendpath() support, 2.... dean gaudet
- Re: [patch] sendpath() support, 2.... Linus Torvalds
- 'native files', 'object fingerprin... Ingo Molnar
- Re: 'native files', 'object finger... Andi Kleen
- Re: 'native files', 'object finger... Ingo Molnar
- Re: 'native files', 'object finger... Andi Kleen