[lkml]   [1999]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: ReiserFS in Standard Kernel?
    Edward S. Marshall wrote:
    > Under the one-file-per-article scheme, I have to make at least three
    > system calls to write an article (open(), write(), close()). Reading a
    > file is basically the same thing. (You can use mmap() to get around some
    > performance issues, but many people avoid it for portability reasons.)
    > Under a scheme with one large file, and the server managing it, I have
    > two: lseek() and read/write() (open() and close() are done at
    > initialization and shutdown).

    Or you can mmap(MAP_SHARED) the whole thing and avoid all system calls :-)

    -- Jamie

    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 13:52    [W:0.034 / U:7.436 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site