From: Jason Dillaman Date: Thu, 19 Oct 2017 17:52:56 +0000 (-0400) Subject: librbd: default to sparse-reads for any IO operation over 64K X-Git-Tag: v13.0.1~451^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=251658471eab6d8cd968d678922bab437f72a9c7;p=ceph.git librbd: default to sparse-reads for any IO operation over 64K Testing BlueStore against both HDDs and OSDs with fully allocated and sparse-allocated objects shows a performance improvement with sparse-read between 32K and 64K. Fixes: http://tracker.ceph.com/issues/21849 Signed-off-by: Jason Dillaman --- diff --git a/src/common/options.cc b/src/common/options.cc index dc37ad48a22..612a1f07ab6 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5257,6 +5257,18 @@ static std::vector