#
303975 |
|
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
302408 |
|
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
293439 |
|
08-Jan-2016 |
glebius |
New sendfile(2) syscall. A joint effort of NGINX and Netflix from 2013 and up to now.
The new sendfile is the code that Netflix uses to send their multiple tens of gigabits of data per second. The new implementation features asynchronous I/O, when I/O operations are launched, but not awaited to be complete. An explanation of why such behavior is beneficial compared to old one is going to be too long for a commit message, so we will skip it here.
Additional features of new syscall are extra flags, which provide an application more control over data sent. The SF_NOCACHE flag tells kernel that data shouldn't be cached after it was sent. The SF_READAHEAD() macro allows to specify readahead size in pages.
The new syscalls is a drop in replacement. No modifications are required to applications. One can take nginx binary for stable/10 and run it successfully on head. Although SF_NODISKIO lost its original sense, as now sendfile doesn't block, and now means something completely different (tm), using the new sendfile the old way is absolutely safe.
Celebrates: Netflix global launch! Sponsored by: Nginx, Inc. Sponsored by: Netflix Relnotes: yes
|
#
267774 |
|
23-Jun-2014 |
bapt |
use .Mt to mark up email addresses consistently (part4)
PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
|
#
243015 |
|
14-Nov-2012 |
kevlo |
Document that sendfile(2) can fail with ENOBUFS.
Reviewed by: glebius
|
#
233648 |
|
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
#
201760 |
|
07-Jan-2010 |
kib |
Further fix grammar.
Suggested by: alc MFC after: 3 days
|
#
201759 |
|
07-Jan-2010 |
brueffer |
Fix a typo and bump date for the previous commit.
|
#
201743 |
|
07-Jan-2010 |
kib |
Give some information on SF_MNOWAIT flag.
MFC after: 3 days
|
#
175941 |
|
03-Feb-2008 |
phk |
Give sendfile(2) a SF_SYNC flag which makes it wait until all mbufs referencing the files VM pages are returned from the network stack, making changes to the file safe.
This flag does not guarantee that the data has been transmitted to the other end.
|
#
164584 |
|
24-Nov-2006 |
yar |
Note that, thanks to the work by Alan Cox et al, some arch'es don't need sendfile() buffers any more.
The report on the work referenced can be found at http://usenix.org/events/usenix05/tech/general/elmeleegy.html
MFC after: 1 week
|
#
152551 |
|
17-Nov-2005 |
ru |
-mdoc sweep.
|
#
151896 |
|
31-Oct-2005 |
jkoshy |
Document the fact that sendfile(2) can EOPNOTSUPP if the underlying filesystem for the file being transferred doesn't support UIO_NOCOPY.
Reported by: Niki Denev <nike_d@cytexbg.com>
|
#
151895 |
|
31-Oct-2005 |
jkoshy |
Sort error list.
|
#
140081 |
|
11-Jan-2005 |
ru |
Scheduled mdoc(7) sweep.
|
#
136660 |
|
18-Oct-2004 |
yar |
Since sendfile(2) works on regular files only, which have no negative offsets, "negative" and "invalid" are equivalent WRT the offset argument.
Suggested by: bde
|
#
136590 |
|
16-Oct-2004 |
yar |
Improve mdoc(7) markup.
|
#
136589 |
|
16-Oct-2004 |
yar |
Give details on what will happen if the `offset' argument to sendfile(2) falls beyond the end of file.
Touch .Dd.
PR: bin/72649 (in the audit trail) MFC after: 1 week
|
#
131365 |
|
30-Jun-2004 |
ru |
Markup, grammar, and spelling fixes.
|
#
130865 |
|
21-Jun-2004 |
mpp |
Spelling fixes.
|
#
125587 |
|
08-Feb-2004 |
silby |
Document the SF_NODISKIO flag, and fix a small typo.
|
#
123968 |
|
29-Dec-2003 |
maxim |
Describe kern.ipc.nsfbufsused and kern.ipc.nsfbufspeak.
Reviewed by: silby
|
#
123094 |
|
01-Dec-2003 |
dg |
Fixed a bug in sendfile(2) where the sent data would be corrupted due to sendfile(2) being erroneously automatically restarted after a signal is delivered. Fixed by converting ERESTART to EINTR prior to exiting.
Updated manual page to indicate the potential EINTR error, its cause and consequences.
Approved by: re@freebsd.org
|
#
115225 |
|
22-May-2003 |
ru |
Assorted mdoc(7) fixes.
Approved by: re (blanket)
|
#
112134 |
|
12-Mar-2003 |
seanc |
Update sendfile.2 to include a TUNING section that documents the various tunables that are applicable to sendfile(2). Update tuning.7 to mention a reference to sendfile.2.
Approved by: keramida
|
#
108087 |
|
19-Dec-2002 |
ru |
mdoc(7) police: "The .Fa argument.".
|
#
108028 |
|
18-Dec-2002 |
ru |
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
|
#
85555 |
|
26-Oct-2001 |
ru |
Remove the internal implementation details of wrapping syscalls, which do not match the reality anyway.
Approved by: deischen, bde
|
#
84306 |
|
01-Oct-2001 |
ru |
mdoc(7) police: Use the new .In macro for #include statements.
|
#
81352 |
|
09-Aug-2001 |
yar |
Use the ``.Rv -std'' mdoc(7) macro in appropriate cases.
Reviewed by: ru
|
#
71978 |
|
04-Feb-2001 |
mckay |
Spelling.
|
#
68716 |
|
14-Nov-2000 |
ru |
Use Fx macro wherever possible.
|
#
60695 |
|
19-May-2000 |
chris |
Remove a superfluous `.Pp' occuring directly after `.Sh IMPLEMENTATION NOTES'.
|
#
60694 |
|
19-May-2000 |
chris |
Add a note under IMPLEMENTATION NOTES about the behavior of sendfile() in the threaded library.
|
#
59460 |
|
21-Apr-2000 |
phantom |
Introduce ".Lb" macro to libc manpages.
More libraries manpages updates following.
|
#
57686 |
|
02-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
#
50476 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49828 |
|
15-Aug-1999 |
mpp |
Various man page cleanup:
- Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Be consistent with section names as outlines in mdoc(7) - Other misc mdoc cleanup.
PR: doc/13144 Submitted by: Alexy M. Zelkin <phantom@cris.net>
|
#
49108 |
|
26-Jul-1999 |
sheldonh |
Correct HISTORY section, according to CVS logs.
PR: 12810 Submitted by: Alex Perel <veers@disturbed.net>
|
#
40972 |
|
06-Nov-1998 |
dg |
Added info about non-blocking support.
|
#
40933 |
|
05-Nov-1998 |
dg |
Added a manual page for sendfile(2).
|