Messages in this thread | | | From | "David Schwartz" <> | Subject | RE: Speeding up swap | Date | Sun, 24 Oct 1999 11:40:26 -0700 |
| |
> Bad idea IMHO. If you are writing a file, it might happen that > you have to > seek back to the start of the file and fill some headers when you > are done. > For example when recording movies.
Then one the file twice. With one fd, you can do your buffered, random accesses. With the other fd, you can do your non-buffered, sequential accesses.
Also, I think you should still be allowed to seek forwards. You may have, for example, a file with large records whose headers tell you their length and whether or not you need to read them.
DS
- 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/
| |