]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: send alloc_hint when compression hint is set 40386/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 12 Mar 2021 00:44:15 +0000 (19:44 -0500)
committersinguliere <singuliere@autistici.org>
Wed, 24 Mar 2021 20:39:47 +0000 (21:39 +0100)
commit97a20afc889c609c12004b5aaa3caaffcd0a0a83
tree9e004bb1158a5cb4012f8e692c1f898b63a71e4f
parentdcf77bd9ff89dfef682c4a2dda05ac5c8651dbe5
librbd/io: send alloc_hint when compression hint is set

Previously the hint would not be set if the object map indicated the
object may exist.

Fixes: https://tracker.ceph.com/issues/49690
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b52b5fe06d1f88130b72b8357dbf5630c7cf1cbd)
src/librbd/io/ObjectRequest.cc