]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: simplify in-flight IO tracking for write-block image dispatch
authorJason Dillaman <dillaman@redhat.com>
Mon, 31 Aug 2020 22:08:24 +0000 (18:08 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 18 Sep 2020 03:52:32 +0000 (23:52 -0400)
commit78fe19260afdd36df53dd24564542d3efc1a214f
tree425ea0e8da2906bda2c1a8a548bd3132a047f261
parenta40718283db35250cb64531b91566209e799b303
librbd: simplify in-flight IO tracking for write-block image dispatch

Now that we don't need to worry about read requests issuing a finish
callback, we can use a simple counter to track in-flight writes.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/WriteBlockImageDispatch.cc
src/librbd/io/WriteBlockImageDispatch.h