]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: improve object map performance under high IOPS workloads 26721/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 28 Feb 2019 21:43:27 +0000 (16:43 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sun, 10 Mar 2019 14:40:06 +0000 (10:40 -0400)
commit071671fff64f27943047610fe075a7e98f0f705c
tree2610d5dc7fa26d96ae330923c9b0a235bc98278a
parenteac565f7b0644d7d06f8d511fa5ffc126c778fd9
librbd: improve object map performance under high IOPS workloads

Do not zero-fill the BitVector's bitset prior to decoding the data.
Additionally, only read-update-modify the portions of the footer
that are potentially affected by the updated state.

Fixes: http://tracker.ceph.com/issues/38538
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc
src/cls/rbd/cls_rbd_client.cc
src/cls/rbd/cls_rbd_client.h
src/common/bit_vector.hpp
src/test/cls_rbd/test_cls_rbd.cc
src/test/common/test_bit_vector.cc
src/test/librbd/test_ObjectMap.cc