lkml.org 
[lkml]   [1999]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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