]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: conditionally disable move optimization 39303/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 4 Feb 2021 16:17:48 +0000 (11:17 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 Feb 2021 16:17:48 +0000 (11:17 -0500)
commit8dbb4a3d971d9a48c171f161f531956dd0030403
treeeac619f11de85cacb2111cb9518849b2b5101bf9
parentcbfc083289211d88cde8ef74861a92a8c72c4f46
librbd/io: conditionally disable move optimization

If the requested write length does not match the provided bufferlist
length, disable the move optimization and instead fallback to creating
a new sub-bufferlist for the object request.

Fixes: https://tracker.ceph.com/issues/49173
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/ImageRequest.cc