]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: send copyup and hint only once
authorIlya Dryomov <idryomov@gmail.com>
Thu, 14 Feb 2019 20:27:12 +0000 (21:27 +0100)
committerJason Dillaman <dillaman@redhat.com>
Wed, 20 Feb 2019 19:12:21 +0000 (14:12 -0500)
commit34d6374c1959076168614864e29b980b01a241ac
tree0e16326e984acffa616b5ebce9e9f73d10441787
parent4e6aa6701474683975c9a9e05cb0b07e342efc3b
librbd: send copyup and hint only once

In the deep-copy case, don't send copyup and hint twice (once with the
blank and once with the current snapshot context).

Preserve the workaround for compare-and-write added in commit
f6db9b8027b6 ("librbd: copyup state machine needs to handle empty write
ops").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/librbd/io/CopyupRequest.cc