]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: simplify interface between object IO and copyup state machines
authorJason Dillaman <dillaman@redhat.com>
Wed, 8 Nov 2017 17:31:28 +0000 (12:31 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 16 Nov 2017 12:31:59 +0000 (07:31 -0500)
commit7117aa4ecaf0b619b527b2783fa1d09b11f3dd55
tree821e8f9fa7801c7fe907a4007190ac56d68311dc
parentf6db9b8027b6978b4d28fcf9f0389c88f9109e75
librbd: simplify interface between object IO and copyup state machines

The initial copyup was not receiving a write hint and the
code for hints was duplicated multiple times. Additionally,
the object map state should match the last executed write op.

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