diff --git a/qa/workunits/rbd/qemu-iotests.sh b/qa/workunits/rbd/qemu-iotests.sh index ca27df9ecff..3d723941f28 100755 --- a/qa/workunits/rbd/qemu-iotests.sh +++ b/qa/workunits/rbd/qemu-iotests.sh @@ -23,6 +23,10 @@ then QEMU='/usr/bin/qemu-system-x86_64' else QEMU='/usr/libexec/qemu-kvm' + + # disable test 055 since qemu-kvm (RHEL/CentOS) doesn't support the + # required QMP commands + testlist=$(echo ${testlist} | sed "s/ 055//g") fi ln -s $QEMU bin/qemu diff --git a/src/librados/IoCtxImpl.cc b/src/librados/IoCtxImpl.cc index c95bda556bb..24eda4f9437 100644 --- a/src/librados/IoCtxImpl.cc +++ b/src/librados/IoCtxImpl.cc @@ -20,6 +20,7 @@ #include "librados/PoolAsyncCompletionImpl.h" #include "librados/RadosClient.h" #include "include/assert.h" +#include "common/valgrind.h" #define dout_subsys ceph_subsys_rados #undef dout_prefix @@ -1164,6 +1165,8 @@ int librados::IoCtxImpl::getxattrs(const object_t& oid, void librados::IoCtxImpl::set_sync_op_version(version_t ver) { + ANNOTATE_BENIGN_RACE_SIZED(&last_objver, sizeof(last_objver), + "IoCtxImpl last_objver"); last_objver = ver; } diff --git a/src/librbd/ExclusiveLock.cc b/src/librbd/ExclusiveLock.cc index fd362ef4a98..cef72cceca7 100644 --- a/src/librbd/ExclusiveLock.cc +++ b/src/librbd/ExclusiveLock.cc @@ -339,8 +339,8 @@ void ExclusiveLock::send_acquire_lock() { template void ExclusiveLock::handle_acquiring_lock(int r) { - CephContext *cct = m_image_ctx.cct; - ldout(cct, 10) << this << " " << __func__ << dendl; + Mutex::Locker locker(m_lock); + ldout(m_image_ctx.cct, 10) << this << " " << __func__ << dendl; assert(r == 0); assert(m_state == STATE_ACQUIRING); diff --git a/src/msg/simple/Pipe.cc b/src/msg/simple/Pipe.cc index 0aa60ca29ab..ace77aa298f 100644 --- a/src/msg/simple/Pipe.cc +++ b/src/msg/simple/Pipe.cc @@ -84,6 +84,7 @@ Pipe::Pipe(SimpleMessenger *r, int st, PipeConnection *con) send_keepalive_ack(false), connect_seq(0), peer_global_seq(0), out_seq(0), in_seq(0), in_seq_acked(0) { + ANNOTATE_BENIGN_RACE_SIZED(&sd, sizeof(sd), "Pipe socket"); ANNOTATE_BENIGN_RACE_SIZED(&state, sizeof(state), "Pipe state"); ANNOTATE_BENIGN_RACE_SIZED(&recv_len, sizeof(recv_len), "Pipe recv_len"); ANNOTATE_BENIGN_RACE_SIZED(&recv_ofs, sizeof(recv_ofs), "Pipe recv_ofs");