]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: default to sparse-reads for any IO operation over 64K 18405/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 Oct 2017 17:52:56 +0000 (13:52 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 23 Oct 2017 00:57:26 +0000 (20:57 -0400)
commit251658471eab6d8cd968d678922bab437f72a9c7
tree0f0492fed016b695b2fca89baae9d507934b79ff
parentdd5452004047c31e0f3eb813d5dd0b50bd68e76f
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 <dillaman@redhat.com>
src/common/options.cc
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/io/ImageRequest.cc
src/librbd/io/ObjectRequest.cc
src/librbd/io/ObjectRequest.h
src/test/librbd/CMakeLists.txt
src/test/librbd/io/test_mock_ImageRequest.cc
src/test/librbd/io/test_mock_ObjectRequest.cc [new file with mode: 0644]