lkml.org 
[lkml]   [2001]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Is sendfile all that sexy?
    Date
    Followup to:  <20010115173607.S25659@mea-ext.zmailer.org>
    By author: Matti Aarnio <matti.aarnio@zmailer.org>
    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
    --
    <hpa@transmeta.com> at work, <hpa@zytor.com> 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 majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:17    [W:4.306 / U:1.268 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site