]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: new configuration option to restrict journal payload size
authorJason Dillaman <dillaman@redhat.com>
Wed, 20 Jul 2016 12:11:53 +0000 (08:11 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 17 Aug 2016 17:22:05 +0000 (13:22 -0400)
commit549aada7f90b9f7d4a4447d2794c18d5f61807a5
tree93188546a89d3f086471795be71407f09273f9aa
parent99195e89e4d229922c6e88aed6a024619e939040
librbd: new configuration option to restrict journal payload size

Ensure that, by default, IO journal events are broken up into manageable
sizes when factoring in that an rbd-mirror daemon might be replaying
events from thousands of images.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 11d7500b9bcda7b7c1d8756ade3373f404257f32)
src/common/config_opts.h
src/librbd/ImageCtx.cc
src/librbd/ImageCtx.h
src/librbd/Journal.cc
src/test/librbd/mock/MockImageCtx.h