add drop fs caches to tools/perfect-cli

This commit is contained in:
Carl Pearson
2019-09-26 11:02:53 -05:00
parent 1b3cf604a8
commit a8d83417e8
3 changed files with 11 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ See [tools/sync_drop_caches.cpp](tools/sync_drop_caches.cpp)
```
* `Result sync()`: flush filesystem caches to disk
* `Result drop_caches(DropCaches_t mode)`: remove file system caches
* `Result drop_caches(DropCaches_t mode = DropCaches_t(PAGECACHE | ENTRIES))`: remove file system caches
* `mode = PAGECACHE`: drop page caches
* `mode = ENTRIES`: drop dentries and inodes
* `mode = PAGECACHE | ENTRIES`: both