]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: send alloc_hint when compression hint is set 40253/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 12 Mar 2021 00:44:15 +0000 (19:44 -0500)
committersinguliere <singuliere@autistici.org>
Fri, 19 Mar 2021 18:15:34 +0000 (19:15 +0100)
commit841db1faf851641b04e5dca2b6866cd3ed742d40
tree0ca333f27863f194ebb5aefd75c747164549b038
parente53ee8bd1dc964028c4186341e1e339ad8aa978b
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