]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: don't clone IoCtx in send_copyup()
authorIlya Dryomov <idryomov@gmail.com>
Mon, 18 Feb 2019 10:37:09 +0000 (11:37 +0100)
committerJason Dillaman <dillaman@redhat.com>
Wed, 20 Feb 2019 19:12:21 +0000 (14:12 -0500)
commit2be8fd01408de8286ef42a09a2560b89f6e45df8
tree6d92b3177335240193858504759d6a979029ddec
parent34d6374c1959076168614864e29b980b01a241ac
librbd: don't clone IoCtx in send_copyup()

Calling aio_operate() with the explicit snap_seq and snaps doesn't
mutate IoCtx, so no reason to clone it.

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