Thanks, that's the key piece of information that I needed. Unfortunately it is not documented in the sysopen, flock or read documentation. Can you point me to where that is documented?Which are you referring to? That perl won't read-ahead, or that the kernel knows what it's doing? For the former, the whole purpose of sysopen/sysread etc is to avoid buffer layers; the man page for sysread specifically states this.
As for the kernel, this is basic; if the kernel didn't do that it would be broken beyond belief.
Dave.
In reply to Re^5: flock and read-ahead buffering on input
by dave_the_m
in thread flock and read-ahead buffering on input
by dbooth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |