From: Jason Dillaman Date: Thu, 16 Jan 2020 19:53:37 +0000 (-0500) Subject: librbd: support compression allocation hints to the OSD X-Git-Tag: v14.2.8~78^2~20^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=61be332cdf9e1269e049294e4cd640e5d28baf2f;p=ceph.git librbd: support compression allocation hints to the OSD A new "rbd_compression_hint" configuration option can be applied globally, at the pool level, or to individual images to send the associated compression allocation hint to the OSD on write operations. Fixes: https://tracker.ceph.com/issues/42097 Signed-off-by: Jason Dillaman (cherry picked from commit 200fc5b2f24859109a79002e30927d457971b939) --- diff --git a/src/common/options.cc b/src/common/options.cc index 2bee6e90fd6..bbba2492bea 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7338,6 +7338,12 @@ static std::vector