]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: moved flush / cache invalidate to resize state machine
authorJason Dillaman <dillaman@redhat.com>
Fri, 27 Feb 2015 04:01:12 +0000 (23:01 -0500)
committerJason Dillaman <dillaman@redhat.com>
Fri, 27 Feb 2015 18:24:23 +0000 (13:24 -0500)
commit1584104f734a543e7430d082dcc3e0647a51bda1
treee88c6d9aceeb400c6c4a54bc88ac442a22d1d3c5
parent9fed4b90c7b70c43fbf743487d79c67b5f6cc188
librbd: moved flush / cache invalidate to resize state machine

Keep async_resize truly async by moving flush and invalidate cache
operations to individual states within the resize state machine.

Fixes: #10958
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AsyncResizeRequest.cc
src/librbd/AsyncResizeRequest.h
src/librbd/ImageCtx.cc
src/librbd/internal.cc