summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2016-07-25 20:12:13 +0300
committerIlya Dryomov <idryomov@gmail.com>2016-07-28 03:00:45 +0200
commit6b1a9a6c54122dade800fd61e90d441e58de19eb (patch)
tree6642fbd06e9e6ce3279a0e6223a988e7c2b8b1d3 /tools/perf
parentc8799fc4674fe5bb9b9391f9eac202250b8370e1 (diff)
downloadblackbird-op-linux-6b1a9a6c54122dade800fd61e90d441e58de19eb.tar.gz
blackbird-op-linux-6b1a9a6c54122dade800fd61e90d441e58de19eb.zip
ceph: Mark the file cache as unreclaimable
Ceph creates multiple caches with the SLAB_RECLAIMABLE flag set, so that it can satisfy its internal needs. Inspecting the code shows that most of the caches are indeed reclaimable since they are directly related to the generic inode/dentry shrinkers. However, one of the cache used to satisfy struct file is not reclaimable since its entries are freed only when the last reference to the file is dropped. If a heavily loaded node opens a lot of files it can introduce non-trivial discrepancies between memory shown as reclaimable and what is actually reclaimed when drop_caches is used. Fix this by removing the reclaimable flag for the file's cache. Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com> Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud