aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sendfile.c
Commit message (Expand)AuthorAgeFilesLines
* Fix handling of errors from pru_send(PRUS_NOTREADY)Mark Johnston2021-05-211-4/+8
* sendfile: Fix error initialization in sendfile_getobj()Mark Johnston2021-04-021-1/+1
* sendfile: Use the pager size to determine the file extent when possibleMark Johnston2021-02-251-14/+41
* sendfile: Clear page pointers when handling a pager errorMark Johnston2021-01-031-0/+1
* sendfile: Ensure that sfio->npages is initializedMark Johnston2020-12-261-8/+11
* Make MAXPHYS tunable. Bump MAXPHYS to 1M.Konstantin Belousov2020-11-281-2/+2
* kern: clean up empty lines in .c and .h filesMateusz Guzik2020-09-011-1/+1
* Fix hang due to missing unbusy in sendfile when an async data I/O fails.Chuck Silvers2020-06-061-42/+26
* Step 4.2: start divorce of M_EXT and M_EXTPGGleb Smirnoff2020-05-031-15/+3
* Step 4.1: mechanically rename M_NOMAP to M_EXTPGGleb Smirnoff2020-05-031-1/+1
* Step 3: anonymize struct mbuf_ext_pgs and move all its fields into mbufGleb Smirnoff2020-05-031-7/+7
* Step 2.5: Stop using 'struct mbuf_ext_pgs' in the kernel itself.Gleb Smirnoff2020-05-031-10/+6
* Continuation of multi page mbuf redesign from r359919.Gleb Smirnoff2020-05-021-3/+3
* Make sendfile(SF_SYNC)'s CV wait interruptible.Mark Johnston2020-04-281-17/+38
* sendfile: When all io finished, assert that sfio->pa[] is in expected state.Konstantin Belousov2020-04-181-0/+18
* The pa argument for sendfile_iodone() is not necessary a slice of sfio->pa.Konstantin Belousov2020-04-181-2/+4
* KTLS: Re-work unmapped mbufs to carry ext_pgs in the mbuf itself.Andrew Gallatin2020-04-141-8/+18
* sendfile_iodone: correct calculation of the page index for relookup.Konstantin Belousov2020-04-121-1/+1
* Do not pass bogus page to mbufs.Konstantin Belousov2020-04-101-2/+6
* kern_sendfile.c: fix bugs with handling of busy page states.Konstantin Belousov2020-03-301-32/+73
* kern_sendfile.c: do not release sfio reference on error.Konstantin Belousov2020-03-301-1/+0
* kern_sendfile.c: wait for all in-flight ios completion before unwiring pages.Konstantin Belousov2020-03-301-0/+14
* kern_sendfile.c: add specific malloc type.Konstantin Belousov2020-03-301-5/+7
* kern_sendfile.c style: order headers alphabetically.Konstantin Belousov2020-03-301-3/+3
* sendfile() does currently not support SCTP sockets.Michael Tuexen2020-03-131-0/+6
* if vm_pager_get_pages_async() returns an error, release the sfio->niosChuck Silvers2020-03-041-0/+1
* Provide a lock free alternative to resolve bogus pages. This is not likelyJeff Roberson2020-02-281-15/+5
* Convert a few triviail consumers to the new unlocked grab API.Jeff Roberson2020-02-281-3/+9
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many)Pawel Biernacki2020-02-261-2/+4
* Generalize resources freeing in sendfile with different scenarios.Gleb Smirnoff2020-02-251-29/+28
* Make ktls_frame() never fail. Caller must supply correct mbufs.Gleb Smirnoff2020-02-251-6/+2
* When sendfile_swapin() sweeps through pages in search for a bogus pageGleb Smirnoff2020-02-251-1/+1
* Avoid releasing object PIP in vn_sendfile() if no pages were grabbed.Mark Johnston2020-02-051-2/+4
* Consistently use busy and vm_page_valid() rather than touching page bitsJeff Roberson2020-01-231-1/+1
* Don't hold the object lock while calling getpages.Jeff Roberson2020-01-191-0/+8
* vfs: drop the mostly unused flags argument from VOP_UNLOCKMateusz Guzik2020-01-031-4/+4
* Record part of the owner struct thread pointer into busy_lock.Konstantin Belousov2019-11-241-1/+1
* If vm_pager_get_pages_async() returns an error synchronously we leak wiredGleb Smirnoff2019-11-061-6/+32
* Add a TOE KTLS mode and a TOE hook for allocating TLS sessions.John Baldwin2019-10-081-2/+3
* Change synchonization rules for vm_page reference counting.Mark Johnston2019-09-091-8/+2
* Only define the 'tls' member of sfio in KERN_TLS is defined.John Baldwin2019-08-271-1/+3
* Add kernel-side support for in-kernel TLS.John Baldwin2019-08-271-6/+95
* Since r350426 this KASSERT doesn't serve any useful purpose.Gleb Smirnoff2019-08-061-2/+0
* Centralize the logic in vfs_vmio_unwire() and sendfile_free_page().Mark Johnston2019-07-291-62/+8
* sendfile: don't panic when VOP_GETPAGES_ASYNC returns an errorAlan Somers2019-07-291-10/+27
|\
| * sendfile: don't panic when VOP_GETPAGES_ASYNC returns an errorAlan Somers2019-07-191-10/+30
* | Add support for using unmapped mbufs with sendfile(2).John Baldwin2019-06-291-6/+127
|/
* Trim an extra space.John Baldwin2019-06-111-1/+1
* Plug sendfile(2) on a listening socket with proper error code.Gleb Smirnoff2018-10-161-0/+2
* Revert second chunk of r333860. The warning from gcc is false positive. TheGleb Smirnoff2018-05-291-1/+0