Drop file system cache for log files
Summary:
Various log files can grow big and may stay in the file system cache forcing
out other more useful contents. Log files are not frequently accessed
once written. I made changes to drop the log file from the file system cache
after every N bytes is written, where N is a runtime option with default
value 1MB.
Test Plan:
make fast_tests
make slow_tests
make www and do production test.
DiffCamp Revision: 172720
Reviewed By: ps
Commenters: hzhao
CC: ps, hzhao, hphp-diffs@lists
Revert Plan:
OK