]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: simplify IO flush handling
authorJason Dillaman <dillaman@redhat.com>
Fri, 31 Jul 2015 02:31:55 +0000 (22:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 11 Feb 2016 15:02:55 +0000 (10:02 -0500)
commitf3987367920368cbce865533cf11a1eb207fb9c7
tree40eb26f43eae09c3192eef63f47cf0681129afd3
parentda772fa88db47703d491ebaa9bd709e62858b3b0
librbd: simplify IO flush handling

Add a new convenience method to ImageCtx for handling flush
requests and cleanup flush handling with dealing with the cache.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(based on commit ee7c6f73992d3b09c6b401fbb782b2151f2399c7)
src/librbd/AsyncOperation.cc
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/ImageWatcher.cc
src/librbd/internal.cc
src/librbd/internal.h