diff options
author | 2015-05-01 17:49:16 +0800 | |
---|---|---|
committer | 2015-06-25 11:49:28 +0300 | |
commit | 604d1b0245b97738cde4341944ad93edff4b2827 (patch) | |
tree | 05a75dfc1ddf4729405f9cb6ce2f405b8e47791e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ceph: avoid sending unnessesary FLUSHSNAP message (diff) | |
download | wireguard-linux-604d1b0245b97738cde4341944ad93edff4b2827.tar.xz wireguard-linux-604d1b0245b97738cde4341944ad93edff4b2827.zip |
ceph: take snap_rwsem when accessing snap realm's cached_context
When ceph inode's i_head_snapc is NULL, __ceph_mark_dirty_caps()
accesses snap realm's cached_context. So we need take read lock
of snap_rwsem.
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