]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados_test_stub: AIO operation callbacks should be via Finisher
authorJason Dillaman <dillaman@redhat.com>
Fri, 13 Mar 2015 22:08:47 +0000 (18:08 -0400)
committerLoic Dachary <ldachary@redhat.com>
Wed, 29 Apr 2015 17:20:36 +0000 (19:20 +0200)
commita1b4aeb8e8c3a8d5c8284dcee8e03f501a77928c
treeb33d453e2fbdaf58bd25954227d2dca9d56753ba
parent74c2dc1f3924fa05e2c40f4cceb2ab060493bdfb
librados_test_stub: AIO operation callbacks should be via Finisher

librados will execute all AIO callbacks via a single finisher to
prevent blocking the Objecter.  Reproduce this behavior to avoid
deadlocks that only exist when using the test stub.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b38c96f2c1747a6d864e7aaa2e9858139ce9d1fd)
src/test/librados_test_stub/TestIoCtxImpl.cc
src/test/librados_test_stub/TestMemIoCtxImpl.cc
src/test/librados_test_stub/TestRadosClient.cc
src/test/librados_test_stub/TestRadosClient.h