[lkml]   [2000]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: nfsv3d wrong truncates over 4G
    On Wed, Oct 25, 2000 at 09:34:49PM +0200, Trond Myklebust wrote:
    > All NFSv3 operations are 64-bit and LFS-compliant. There's therefore
    > no need for an O_LARGEFILE flag.

    I don't understand what you mean, sorry.

    Userspace programs must open with O_LARGEFILE to go over 2G. This is true
    regardless of the underlying FS. You can find the details in the specs.

    On the server side nfsd must open files with O_LARGEFILE as well if it wants to
    return data over 2G to the nfsv2/3 clients that are asking for that (see it as
    a kernel internals implementation detail: we for sure want to re-use the common
    routines inside nfsd even if it's in kenrel space). The |O_LARGEFILE at line
    472 and 476 of linux/fs/nfsd/vfs.c of 2.4.0-test10-pre4 are strictly necessary
    (they're present in 2.2.18pre17aa1 as well indeed).

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:45    [W:0.026 / U:44.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site