Certain WAN "accelerators" attempt to cache NFS GETATTR traffic, but actually
corrupt it (e.g., responding to requests with attributes for totally different
files). As one might guess, this leads to file corruption from the client's
perspective.
Warn very verbosely when this is detected to help users track down this sort of
problem. 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)'