HomeFreeBSD

Add flag SF_USER_READAHEAD to sendfile(2). When specified, the syscall won't

Description

Add flag SF_USER_READAHEAD to sendfile(2). When specified, the syscall won't
do any speculations about readahead, and use exactly the amount of readahead
specified by user. E.g. setting SF_FLAGS(0, SF_USER_READAHEAD) will guarantee
that no readahead at all will be performed.

Details

Provenance
glebiusAuthored on
Parents
rS308783: Use bogus_page to properly reduce number of I/Os in sendfile(2). The new
Branches
Unknown
Tags
Unknown