]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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, 1 Feb 2018 16:16:26 +0000 (11:16 -0500)
commit4f77368ab08df27417cc5c5f3c3200a5f68733ca
tree56f7dd1bee4ea884ad32b94c6ef1ebda398af28c
parent7807083ea27ccb4b60dbc050e9d135464756fdb1
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>
(cherry picked from commit 7117aa4ecaf0b619b527b2783fa1d09b11f3dd55)

Conflicts:
src/librbd/io/ObjectRequest.h: trivial resolution
src/librbd/io/CopyupRequest.cc
src/librbd/io/CopyupRequest.h
src/librbd/io/ObjectRequest.cc
src/librbd/io/ObjectRequest.h