HomeFreeBSD

sendfile: retire SF_SYNC

Description

sendfile: retire SF_SYNC

The flag was added in b75a1171d8ba4 for the sake of Varnish. However, that
idea didn't work. Quoting email from Poul-Henning:

"We had to give up sendfile(), the overhead of keeping track of everything
between the network stack and VM system made ate any gain we saw. ... I
dont think we ever shipped a version where sendfile was enabled by
default."

PR: 287348

Details

Provenance
glebiusAuthored on Jun 24 2025, 9:26 PM
Parents
rGeabb9f600001: gone_in: enforce printing only once
Branches
Unknown
Tags
Unknown