]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd-mirror: disable librbd caching for replicated images 9317/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 19 May 2016 00:53:26 +0000 (20:53 -0400)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Wed, 25 May 2016 10:46:35 +0000 (16:16 +0530)
commit0c99028582326c4ac142a03f168ab1bcf0ddd3c2
treecfc7183236cdfeae642637aac02a0d41bab3a228
parentc11db6f103b2dd0049894a606916a84d66933833
rbd-mirror: disable librbd caching for replicated images

Each image has its own cache and each cache uses its own thread. With
a large replicated cluster, this could result in thousands of extra
threads and gigabytes of extra memory.

Fixes: http://tracker.ceph.com/issues/15930
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit ea35f148257282fe3f3ae02fe7a26cf245cda952)
src/test/rbd_mirror/test_ImageReplayer.cc
src/test/rbd_mirror/test_fixture.cc
src/tools/rbd_mirror/Replayer.cc
src/tools/rbd_mirror/main.cc