]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: complete all pending aio ops prior to closing image 3406/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 15 Dec 2014 15:53:53 +0000 (10:53 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Thu, 26 Feb 2015 22:14:48 +0000 (14:14 -0800)
commit08c2fda12cf46937a09a59bb032379c3c5321292
tree8203cd81178f4bc933139c76143b9337116e380a
parent7ab02ee5afb3d017b94d58c3dfc7731f7a3866d9
librbd: complete all pending aio ops prior to closing image

It was possible for an image to be closed while aio operations
were still outstanding.  Now all aio operations are tracked and
completed before the image is closed.

Fixes: #10299
Backport: giant, firefly, dumpling
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AioCompletion.h
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/internal.cc
src/test/librbd/test_librbd.cc