freebsd-skq/sys
cem d5f3fe6662 FUSE: Refresh cached file size when it changes (lookup)
The cached fvdat->filesize is indepedent of the (mostly unused)
cached_attrs, and we failed to update it when a cached (but perhaps
inactive) vnode was found during VOP_LOOKUP to have a different size than
cached.

As noted in the code comment, this can occur in distributed filesystems or
with other kinds of irregular file behavior (anything is possible in FUSE).

We do something similar in fuse_vnop_getattr already.

PR:		230258 (as reported in description; other issues explored in
			comments are not all resolved)
Reported by:	MooseFS FreeBSD Team <freebsd AT moosefs.com>
Submitted by:	Jakub Kruszona-Zawadzki <acid AT moosefs.com> (earlier version)
2019-02-15 22:55:13 +00:00
..
amd64 Implement Address Space Layout Randomization (ASLR) 2019-02-10 17:19:45 +00:00
arm Enable enabling ASLR on non-x86 architectures. 2019-02-14 14:44:53 +00:00
arm64 Enable enabling ASLR on non-x86 architectures. 2019-02-14 14:44:53 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Fix panic message. 2019-02-13 00:10:12 +00:00
cddl s/Maximal/Maximum/ in sysctl description. 2019-02-04 20:09:22 +00:00
compat Make taskqgroup_attach{,_cpu}(9) work across architectures 2019-02-12 21:23:59 +00:00
conf Add CBC-MAC authentication. 2019-02-15 03:46:39 +00:00
contrib Remove empty files 2019-02-12 08:16:05 +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 Do not use ntc for obtaining buffer on Rx in the ENA 2019-02-15 10:40:41 +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: Refresh cached file size when it changes (lookup) 2019-02-15 22:55:13 +00:00
gdb
geom geom_uzip(4): set 'gp != NULL' assertion on top of the function 2019-01-26 17:17:25 +00:00
gnu Import DTS from Linux 4.20 2019-01-11 09:40:34 +00:00
i386 Provide userspace versions of do_cpuid() and cpuid_count() on i386. 2019-02-14 13:53:11 +00:00
isa
kern Finish the fix for overflow in calcru1(). 2019-02-14 19:07:08 +00:00
kgssapi
libkern
mips Enable enabling ASLR on non-x86 architectures. 2019-02-14 14:44:53 +00:00
modules Add CBC-MAC authentication. 2019-02-15 03:46:39 +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 Fix a byte ordering issue for the advertised receiver window in ACK 2019-02-15 09:45:17 +00:00
netinet6 New pfil(9) KPI together with newborn pfil API and control utility. 2019-01-31 23:01:03 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil Remove `set' field from state structure and use set from parent rule. 2019-02-11 18:10: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 issue from r344141, having to do with size of a shift amount. 2019-02-15 04:15:43 +00:00
powerpc [PPC64] Fix mismatch between thread flags and MSR 2019-02-14 15:15:32 +00:00
riscv Enable enabling ASLR on non-x86 architectures. 2019-02-14 14:44:53 +00:00
rpc Add kern.rpc.gss.client_max, to make it possible to bump it easily. 2018-12-15 11:32:11 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Enable enabling ASLR on non-x86 architectures. 2019-02-14 14:44:53 +00:00
sys Make taskqgroup_attach{,_cpu}(9) work across architectures 2019-02-12 21:23:59 +00:00
teken My recent fix for programmable function keys in syscons only worked 2019-02-05 16:59:29 +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 This bug was introduced with the change to use softdep_bp_to_mp() in 2019-01-28 21:36:45 +00:00
vm Make anon clustering more compatible. 2019-02-14 15:45:53 +00:00
x86 Port sysctl kern.elf32.read_exec from amd64 to i386. 2019-02-07 02:17:34 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile