freebsd-dev/sys
Jason A. Harmening 4775b07ebd FFS: allow sendfile(2) to work with block sizes greater than the page size
Implement ffs_getpages_async(), which when possible calls the asynchronous
flavor of the generic pager's getpages function. When the underlying
block size is larger than the system page size, however, it will invoke
the (synchronous) buffer cache pager, followed by a call to the client
completion routine. This retains true asynchronous completion in the most
common (block size <= page size) case, which is important for the performance
of the new sendfile(2). The behavior in the larger block size case mirrors
the default implementation of VOP_GETPAGES_ASYNC, which most other
filesystems use anyway as they do not override the getpages_async method.

PR:		235708
Reported by:	pho
Reviewed by:	kib, glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19340
2019-02-26 04:56:10 +00:00
..
amd64 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
arm Add base to the warning threshold. 2019-02-22 03:11:27 +00:00
arm64 arm64: rockchip: clk: Set the write mask when setting the clock mux 2019-02-25 17:40:00 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Free some space in struct ctl_io_hdr for better use. 2019-02-23 23:35:52 +00:00
cddl Commit a missing piece of r344452. 2019-02-21 22:56:54 +00:00
compat import linux debugfs support 2019-02-23 20:56:41 +00:00
conf gcov support 2019-02-23 21:14:00 +00:00
contrib MFV: r344447 2019-02-21 21:33:27 +00:00
crypto Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
ddb ddb: Print the thread's pcb in 'show thread' 2019-02-09 21:08:19 +00:00
dev Set maximum bus clock speed from hints when attaching hinted spibus(4) children. 2019-02-25 23:49:58 +00:00
dts Adapt FreeBSD specific DT stub for Jetson TK1 board to be consistent with 2019-02-06 06:03:44 +00:00
fs fuse: Fix a regression introduced in r337165 2019-02-21 02:41:57 +00:00
gdb
geom Define a constant for the maximum number of GEOM_CTL arguments. 2019-02-20 17:07:08 +00:00
gnu gcov support 2019-02-23 21:14:00 +00:00
i386 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
isa
kern Improve vmem tuning for platforms without a direct map. 2019-02-25 19:22:13 +00:00
kgssapi * Handle SIGPIPE in gssd 2019-02-21 01:30:37 +00:00
libkern Add non-sleepable strdup variant strdup_flags 2019-02-20 20:48:10 +00:00
mips o Get rid of silly comment which seems to have got life of its own via 2019-02-23 00:00:49 +00:00
modules nvdimm: Simple namespace support 2019-02-22 19:54:28 +00:00
net iflib: Improve return values of interrupt handlers. 2019-02-15 18:51:43 +00:00
net80211 net80211(4): hide casts for 'i_seq' field offset calculation inside 2019-02-10 23:58:56 +00:00
netgraph Remove remnants of byte order manipulation, back when FreeBSD stack 2019-02-09 03:00:00 +00:00
netinet Make arp code return (more) errors. 2019-02-24 22:49:56 +00:00
netinet6 When dropping a fragment queue count the number of fragments in the queue 2019-02-19 19:57:55 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil pf: Small performance tweak 2019-02-24 17:23:55 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto Fix another bug introduced during the review process of r344140: 2019-02-25 19:14:16 +00:00
powerpc Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
riscv Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
rpc Bump the default kern.rpc.gss.client_max from 128 to 1024. 2019-02-19 11:07:02 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
sys Remove unintend change to capability.h from r344530 2019-02-25 18:25:53 +00:00
teken Attempt to complete fixing programmable function keys for syscons. 2019-02-20 02:14:41 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs FFS: allow sendfile(2) to work with block sizes greater than the page size 2019-02-26 04:56:10 +00:00
vm Fix incorrect assertion in vnode_pager_generic_getpages() 2019-02-26 04:50:46 +00:00
x86 Add usermode helpers for for Intel userspace protection keys feature. 2019-02-20 09:56:23 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile