Originally posted by JustinTurdeau
View Post
Announcement
Collapse
No announcement yet.
Linux Work Culminating On A "READFILE" Syscall For Reading Small Files Efficiently
Collapse
X
-
- Likes 1
-
If "small" is defined as under 4k, and it's handled in a backwards compatible way in libc (maybe make open() a noop, only actually "opening" if the file is large or opened for writing, and close() also potentially a noop), this could be an improvement for 90% of all file accesses.
- Likes 6
Leave a comment:
-
Originally posted by JustinTurdeau View PostBecause that's the cleanest way to do it. The real question is, why do you have an aversion to new syscalls?
- Likes 1
Leave a comment:
-
-
Why does it need a new syscall? Couldn't an ioctl call do it?
- Likes 1
Leave a comment:
-
Linux Work Culminating On A "READFILE" Syscall For Reading Small Files Efficiently
Phoronix: Linux Work Culminating On A "READFILE" Syscall For Reading Small Files Efficiently
Stemming from recent kernel discussions over a hypothetical new system call for reading small files more efficiently, Greg Kroah-Hartman has been working on the readfile() system call and it's looking like it is taking shape well enough to premiere soon in a new mainline kernel release...
Tags: None
Leave a comment: