Portable file system cache diagnostics and control