]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/ProtocolV2: fix write_lock usage around AckFrame
authorSage Weil <sage@redhat.com>
Tue, 5 Feb 2019 16:32:05 +0000 (10:32 -0600)
committerSage Weil <sage@redhat.com>
Thu, 7 Feb 2019 18:10:34 +0000 (12:10 -0600)
commit5d84f119348f20aaed661b1e80f6ba402c10eb04
tree809b1670fba06890330a61bd3ee0966e03c4ac3a
parent65e81e6eb4f136bf21b67e5de10ab49f028f9e95
msg/async/ProtocolV2: fix write_lock usage around AckFrame

If we are calling _try_send or touching outcoming_bl we must be holding
write_lock.

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/async/ProtocolV2.cc