]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: possible unit test race condition
authorJason Dillaman <dillaman@redhat.com>
Thu, 27 Aug 2015 18:21:05 +0000 (14:21 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 19 Nov 2015 01:34:43 +0000 (20:34 -0500)
commit3d6cde017aebaf2c46d2ee57f3dc3ead564baf9e
tree4e0618438472ed198c170f1ee6e6f01f1a2e75cc
parent63f9ae3d841525dedf29c04fef4dfc42f732adb0
librbd: possible unit test race condition

It's possible during unit tests for the requests to complete
prior to marking the Context as complete.  In this case, the
Context will fire while locks are being held.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/operation/TrimRequest.cc