diff options
author | 2015-05-14 17:22:42 +0800 | |
---|---|---|
committer | 2015-06-25 11:49:29 +0300 | |
commit | 745a8e3bccbc6adae69a98ddc525e529aa44636e (patch) | |
tree | 96d8106a0800a839d8f6bffaf7485b92dcf78a6c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ceph: make sure syncfs flushes all cap snaps (diff) | |
download | wireguard-linux-745a8e3bccbc6adae69a98ddc525e529aa44636e.tar.xz wireguard-linux-745a8e3bccbc6adae69a98ddc525e529aa44636e.zip |
ceph: don't pre-allocate space for cap release messages
Previously we pre-allocate cap release messages for each caps. This
wastes lots of memory when there are large amount of caps. This patch
make the code not pre-allocate the cap release messages. Instead,
we add the corresponding ceph_cap struct to a list when releasing a
cap. Later when flush cap releases is needed, we allocate the cap
release messages dynamically.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions