diff options
author | 2015-05-01 10:03:40 +0800 | |
---|---|---|
committer | 2015-06-25 11:49:28 +0300 | |
commit | 7b06a826e7c52d77ce801e5960ecf0338eafe886 (patch) | |
tree | cb4f7bc04116a3a4d673152096bc994131304574 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | libceph: use kvfree() instead of open-coding it (diff) | |
download | wireguard-linux-7b06a826e7c52d77ce801e5960ecf0338eafe886.tar.xz wireguard-linux-7b06a826e7c52d77ce801e5960ecf0338eafe886.zip |
ceph: use empty snap context for uninline_data and get_pool_perm
Cached_context in ceph_snap_realm is directly accessed by
uninline_data() and get_pool_perm(). This is racy in theory.
both uninline_data() and get_pool_perm() do not modify existing
object, they only create new object. So we can pass the empty
snap context to them. Unlike cached_context in ceph_snap_realm,
we do not need to protect the empty snap context.
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