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: v12.2.3~87^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20208%2Fhead;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 (cherry picked from commit 251658471eab6d8cd968d678922bab437f72a9c7) --- diff --git a/src/common/options.cc b/src/common/options.cc index 0469939ab737..00720d5c6031 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5658,6 +5658,18 @@ static std::vector