| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Remove core system call implementations and documentation to lib/libsys
and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>.
Update paths to allow libc to find them in their new home.
Reviewed by: kib, emaste, imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/908
|
| |
|
|
| |
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- varios "new sentence, new line" warnings
- varios "sections out of conventional order" warnings
- varios "unusual Xr order" warnings
- varios "missing section argument" warnings
- varios "no blank before trailing delimiter" warnings
- varios "normalizing date format" warnings
MFC after: 1 month
Notes:
svn path=/head/; revision=368817
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
EINTEGRITY was previously documented as a UFS-specific error for
mount(2). This documents EINTEGRITY as a filesystem-independent error
that may be reported by the backing store of a filesystem.
While here, document EIO as a filesystem-independent error for both
mount(2) and posix_fadvise(2). EIO was previously only documented for
UFS for mount(2).
Reviewed by: mckusick
Suggested by: mckusick
MFC after: 2 weeks
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D24168
Notes:
svn path=/head/; revision=359465
|
| |
|
|
|
|
|
|
|
|
|
| |
Therefore, fail the call.
Reviewed by: markj@
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D24059
Notes:
svn path=/head/; revision=358965
|
| |
|
|
| |
Notes:
svn path=/head/; revision=344190
|
| |
|
|
|
|
|
|
|
|
|
|
| |
back to the lever before r343030. For 64-bit machines reduce it slightly,
too. Together with r343030 I bumped the limit up to the value we use at
Netflix to serve 100 Gbit/s of sendfile traffic, and it probably isn't a
good default.
Provide a loader tunable to change vnode pager pbufs count. Document it.
Notes:
svn path=/head/; revision=344188
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
provided an invalid address
This is meant to clarify the fact that the system call will not fail
with -1/EFAULT, as one might expect, when reading the sendfile(2)
manpage today.
While here, pet the mandoc linter, when dealing with the section that
describes valid values for `flags`.
PR: 232210
MFC after: 2 weeks
Approved by: emaste (mentor)
Reviewed by: glebius, 0mp
Differential Revision: https://reviews.freebsd.org/D18949
Notes:
svn path=/head/; revision=343444
|
| |
|
|
|
|
|
|
|
| |
PR: 232207
Submitted by: Enji Cooper <yaneurabeya@gmail.com>
Approved by: re (rgrimes)
Notes:
svn path=/head/; revision=339343
|
| |
|
|
|
|
|
|
|
| |
Fix some nits from igor while here.
MFC after: 3 days
Notes:
svn path=/head/; revision=331016
|
| |
|
|
|
|
|
|
|
| |
Reviewed by: bjk
Reviewed by: jilles (incl formal "accept")
Differential Revision: https://reviews.freebsd.org/D13650
Notes:
svn path=/head/; revision=327259
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=308784
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=293439
|
| |
|
|
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
Notes:
svn path=/head/; revision=267774
|
| |
|
|
|
|
|
| |
Reviewed by: glebius
Notes:
svn path=/head/; revision=243015
|
| |
|
|
|
|
|
|
|
|
| |
Disussed with: gavin
No objection from: doc
Approved by: joel
MFC after: 3 days
Notes:
svn path=/head/; revision=233648
|
| |
|
|
|
|
|
|
| |
Suggested by: alc
MFC after: 3 days
Notes:
svn path=/head/; revision=201760
|
| |
|
|
| |
Notes:
svn path=/head/; revision=201759
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=201743
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=175941
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=164584
|
| |
|
|
| |
Notes:
svn path=/head/; revision=152551
|
| |
|
|
|
|
|
|
|
| |
filesystem for the file being transferred doesn't support UIO_NOCOPY.
Reported by: Niki Denev <nike_d@cytexbg.com>
Notes:
svn path=/head/; revision=151896
|
| |
|
|
| |
Notes:
svn path=/head/; revision=151895
|
| |
|
|
| |
Notes:
svn path=/head/; revision=140081
|
| |
|
|
|
|
|
|
|
|
| |
which have no negative offsets, "negative" and
"invalid" are equivalent WRT the offset argument.
Suggested by: bde
Notes:
svn path=/head/; revision=136660
|
| |
|
|
| |
Notes:
svn path=/head/; revision=136590
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to sendfile(2) falls beyond the end of file.
Touch .Dd.
PR: bin/72649 (in the audit trail)
MFC after: 1 week
Notes:
svn path=/head/; revision=136589
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131365
|
| |
|
|
| |
Notes:
svn path=/head/; revision=130865
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125587
|
| |
|
|
|
|
|
| |
Reviewed by: silby
Notes:
svn path=/head/; revision=123968
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=123094
|
| |
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=115225
|
| |
|
|
|
|
|
|
|
|
| |
various tunables that are applicable to sendfile(2). Update tuning.7
to mention a reference to sendfile.2.
Approved by: keramida
Notes:
svn path=/head/; revision=112134
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108087
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=108028
|
| |
|
|
|
|
|
|
|
| |
which do not match the reality anyway.
Approved by: deischen, bde
Notes:
svn path=/head/; revision=85555
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84306
|
| |
|
|
|
|
|
| |
Reviewed by: ru
Notes:
svn path=/head/; revision=81352
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71978
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68716
|
| |
|
|
|
|
|
| |
`.Sh IMPLEMENTATION NOTES'.
Notes:
svn path=/head/; revision=60695
|
| |
|
|
|
|
|
| |
in the threaded library.
Notes:
svn path=/head/; revision=60694
|
| |
|
|
|
|
|
| |
More libraries manpages updates following.
Notes:
svn path=/head/; revision=59460
|
| |
|
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
Notes:
svn path=/head/; revision=57686
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50476
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
Notes:
svn path=/head/; revision=49828
|
| |
|
|
|
|
|
|
| |
PR: 12810
Submitted by: Alex Perel <veers@disturbed.net>
Notes:
svn path=/head/; revision=49108
|
| |
|
|
| |
Notes:
svn path=/head/; revision=40972
|