Messages in this thread | | | Date | Wed, 14 Jul 1999 21:58:27 +0200 | From | Jamie Lokier <> | Subject | Re: 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/
| |