summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2015-08-05 22:27:30 +0000
committercem <cem@FreeBSD.org>2015-08-05 22:27:30 +0000
commit3d8d5f23ac1a25b53b18e6399dc1e5b0322dd1c4 (patch)
treeb3cc70da7dcb1d3a52cb9521e1586b9d6fd83e16 /contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp
parent45b2a7c139b41e709a7e27fa21cf9656dfb2f825 (diff)
downloadFreeBSD-src-3d8d5f23ac1a25b53b18e6399dc1e5b0322dd1c4.zip
FreeBSD-src-3d8d5f23ac1a25b53b18e6399dc1e5b0322dd1c4.tar.gz
nfsclient: Protest loudly when GETATTR responses are invalid
BROKEN NFS SERVER OR MIDDLEWARE: Certain WAN "accelerators" attempt to cache NFS GETATTR traffic, but actually corrupt it (e.g., responding to requests with attributes for totally different files). Warn very verbosely when this is detected. Linux' NFS client has a similar warning. Adds a sysctl/tunable (vfs.nfs.fileid_maxwarnings) to configure the quantity of warnings; default to 10. (Zero disables; -1 is unlimited.) Adds a failpoint to aid in validating the warning / behavior with a non-broken server. Use something like: sysctl 'debug.fail_point.nfscl_force_fileid_warning=10%return(1)' Reviewed by: rmacklem Approved by: markj (mentor) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3304
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Sema/SemaExceptionSpec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud